Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Devtard

    (@devtard)

    Hi, I’m not sure if I understand the question. Currently it’s not possible to use regular expressions in keywords.

    Thread Starter vavdagic

    (@vavdagic)

    No, not in keywords…

    When you use regex (in Related words) it only works if you name it(in Keyword name) same as string in regex.

    again exemple:

    ((?i)weather[a-zA-Z0-9]*)+[ -.+_]((?i)today[a-zA-Z0-9]*)

    name(Keyword name)has to be “weather today”, if you write something like “todays weather conditions in london” it will not work.

    Plugin Author Devtard

    (@devtard)

    The current version doesn’t support regular expressions per se, only wildcards in Related words (symbols which can represent any regex of your choice: APT > Miscellaneous > Wildcard pattern). Full regex support should be included in one of the next versions though.

    Thread Starter vavdagic

    (@vavdagic)

    Ok, thank you.
    Do you have idea how could i filter words with wildcards so it would be like this regex? ((?i)weather[a-zA-Z0-9]*)+[ -.+_]((?i)today[a-zA-Z0-9]*)

    Thread Starter vavdagic

    (@vavdagic)

    Figured it out! Thx, and i love your plugin Devtard 🙂

    Plugin Author Devtard

    (@devtard)

    Sorry that I wasn’t able to reply sooner. I’m glad to hear that. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Regex problem’ is closed to new replies.