Updated per moritz correction below.
So:
print $1 while 'hello' =~ m[(([a-z])(?!\2)[a-z])]g;; he lo
In reply to Re: match character in a set, them match one of the other ones
by BrowserUk
in thread match character in a set, then match one of the other ones
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |