1 Mar
1993
1 Mar
'93
6:23 p.m.
^--(|.|..|...(|[^B]|B[^E]|BE[^G]|BEG[^I]|BEGI[^N]|BEGIN[^ ]|BEGIN [^P]\ |BEGIN P[^G]|BEGIN PG[^P]))
Some implementations don't support empty alternation, so that could be changed with the ? syntax, since (|a) and (a?) are the same.
Uh... Eric? Would it be ok to use it as a shocker example on the basic UNIX courses I do? Julf