Aug 3, 2012, 12:24 PM
Post #1 of 2
What is wrong with the following regular expression?
$line =~ s/batch.check.interval(+\s)\<sec\>/batch.check.interval 2/g;
It throws an error as below:
Quantifier follows nothing in regex; marked by <-- HERE in m/batch.check.interval(+ <-- HERE \s)<sec>/
This is what iam trying to replace