[Boston.pm] regex in RHS of s/// spotted

2005-03-03 Thread Kripa Sundar
Hi all, An unnamed White House source today stated that regexes are beginning to infiltrate the RHS of substitutions, and thus threaten our national security. This was corroborated by the following sighting: s/Perl/(Bike Riding|Gardening|Cooking|Painting|Teaching|Filmmaking)/; :-) :-) for the

Re: [Boston.pm] regex in RHS of s/// spotted

2005-03-03 Thread Gyepi SAM
On Thu, Mar 03, 2005 at 10:45:28AM -0500, Kripa Sundar wrote: An unnamed White House source today stated that regexes are beginning to infiltrate the RHS of substitutions, and thus threaten our national security. This was corroborated by the following sighting: s/Perl/(Bike

Re: [Boston.pm] regex in RHS of s/// spotted

2005-03-03 Thread Kripa Sundar
s/Perl/(Bike Riding|Gardening|Cooking|Painting|Teaching|Filmmaking)/; Oddly enough, the the syntactically correct code does not quite have the same meaning or elegance. ... \begin{nitpick} The s/// is already syntactically correct. :-) \end{nitpick} ... Note that I modified the list