You could for example implement the criteria using these two rules:
Then you only need to find out how to construct an "or" condition for regular expressions and find implementations for "starts with", "ends with" and "something else".
See perlre for ideas on how to implement these.
In reply to Re: regex and substrings
by Corion
in thread regex and substrings
by ovedpo15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |