That allows eg 'help' or slurp'.
Update: I've no idea why though, or why it also allows 'hops' and 'hoops'...
Update 2: Got it! It also of course allows 'rabbit', or any other string that doesn't end in 'p' preceded by whatever. It was the unless that momentarily confused me. :)
In reply to Re^2: Another regex to solve ...
by Not_a_Number
in thread Another regex to solve ...
by pat_mc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |