| Next | Regular Expression Mastery | 94 |
/X?/

Also there's a non-greedy version X??
I used to pay US$60 for a live sighting of ?? in the wild
But one day I thought of
if ($option =~ /^-f(i(e(ld??)??)??)??$/) {
...
}
| Next | ![]() |
Copyright © 2002 M. J. Dominus |