Re: Help with regex conversions

2013-09-19 Thread Shlomi Fish
Hi Rajesh, On Thu, 19 Sep 2013 23:39:48 +0530 rajesh kumar wrote: > Hi, > > I am reading a set of regex, separated by comma, from database, which is in > string format and using eval to convert them in the array. > For e.g., > String from database is 'qr/^abc .* $/,qr/xxx/' > > $string = 'qr/^

Re: Help with regex conversions

2013-09-19 Thread Dr.Ruud
On 19/09/2013 20:09, rajesh kumar wrote: Hi, I am reading a set of regex, separated by comma, from database, which is in string format and using eval to convert them in the array. For e.g., String from database is'qr/^abc .* $/,qr/xxx/' $string = 'qr/^abc .*$/,qr/xxx/'; # this $string comes fro