And how come \\w rather than \w works?
The double backslash is just because it's in a double-quoted string, so a literal \w remains in the runtime constructed regex pattern fragment.
In reply to Re^3: Find Number in String then Ignore Characters proceeding
by Eliya
in thread Find Number in String then Ignore Characters proceeding
by BenPen95
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |