in reply to Re^2: Match something that does not match
in thread Match something that does not match
Though it works, I still don't get it :-(
The . matches anything (except newline), and (?!$pat) means "the next thing can't be $pat", so taken all together it really just means "match any number of characters, where none of these characters may be the first character of $pat".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Match something that does not match
by jo37 (Curate) on Feb 15, 2020 at 22:18 UTC |