Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex groups in triggers are processed after expression #224

haavard opened this Issue Oct 5, 2014 · 0 comments


None yet
2 participants
Copy link

commented Oct 5, 2014

To reproduce:

  1. /trigger add greentext modifier "weechat_print" "${tg_message_nocolor} =~ ^>" "/(.*)/${tg_prefix}\t${color:green}${tg_message}" ""
  2. Type >foo $100 bar
  3. The resulting text will be >foo 0 bar (in green)

Caused by regex groups being processed after the trigger expression.

@flashcode flashcode added the bug label Oct 5, 2014

@flashcode flashcode added this to the 1.1 milestone Oct 5, 2014

@flashcode flashcode self-assigned this Oct 5, 2014

@flashcode flashcode closed this in 3f5a810 Oct 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.