Hi,
NCM comparison criteria use grep-style basic regular expressions. Most importantly that means:
- Meta-characters ‘?’, ‘+’, ‘{’, ‘|’, ‘(’, and ‘)’ lose their special meaning; you must use the backslashed versions ‘\?’, ‘\+’, ‘\{’, ‘\|’, ‘\(’, and ‘\)’. In other words, you will use backslashes to give certain characters special meaning, while many other regex implementations use backslashes to take the special meaning away.
- You have to use '%%' in the pattern when you want to match '%'.
See the following post for details: Everything You Ever Wanted to Know About Regular Expressions in NCM But Were Afraid to Ask
Jiri