in reply to regexp quandry

A couple of things I missed while helping you out earlier:

Instead of:

|p.i.

it should be

|p\.i\.

Otherwise, each period will match any character instead of a literal period.

Also, the modifiers at the end, instead of /gx, should be /gxi to enable case-insensitive matching.

LAI

__END__