Regex Troubles - 17/05/06 08:42 PM
I am trying to use non-capturing parenthesis in an on-text regex:
but it fails every time. I tried:
and it matched just fine.
Could some one tell me why this isn't working?
Thanks.
-Terrab
Code:
on $*:text:/^[+-](.+?)(?: (.+))?$/:#: {
but it fails every time. I tried:
Code:
$regex(+Command params,/^[+-](.+?)(?: (.+))?$/)
and it matched just fine.
Could some one tell me why this isn't working?
Thanks.
-Terrab