http://www.perlmonks.org?node_id=515727


in reply to Re: regular expressions with commas?
in thread regular expressions with commas?

Those both match given the string "Blah,Y,X", which has a substring ending with ",Y", but doesn't itself end with that sequence. (It isn't completely clear to me what the OP wanted, though...)

Replies are listed 'Best First'.
Re^3: regular expressions with commas?
by osunderdog (Deacon) on Dec 10, 2005 at 22:33 UTC

    I interpreted it as meaning a ",Y" after the name string. Many others interpreted it as meaning a ",Y" at the end of the line. The OP wasn't clear so I figure I would share my interpretation.

    Hazah! I'm Employed!