AutoVoice AutoVoice picking up wrong part of text for regex variable

Discussion in 'AutoApps' started by obscurereference, Oct 14, 2015.

  1. obscurereference

    obscurereference New Member

    Joined:
    Mar 6, 2015
    Messages:
    24
    Likes Received:
    1
    So I've just started using AutoVoice today and have a few profiles set up. I'm stuck on this:

    In my autovoice recognise event profile, when I have the command filter set to:
    add (?<buy>.+) (to|on|in) shopping list

    ...If I test this with "add socks to shopping list", the %buy variable correctly gets set to "socks".

    However if I change the command filter to:
    (add|put|stick) (?<buy>.+) (to|on|in) shopping list

    The %buy variable (from the same command) gets set to 'add'.

    I have the 'Use regex' setting ticked. Everything else in the autovoice recognise event trigger is set to the default. Any idea what I'm doing wrong?

    Thanks!
    Rob
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Please check here at the bottom.
    Hope this helps! :)
     
  3. obscurereference

    obscurereference New Member

    Joined:
    Mar 6, 2015
    Messages:
    24
    Likes Received:
    1
    Great, that works, thanks!

    Sorry, thought I'd checked the faq but must've missed that one. Great app by the way, I didn't realise it was so easy to integrate it with Google Now. Wish I'd bought it sooner!
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Glad I could help! :) Enjoy the app!
     
: autovoice

Share This Page