
ianilkumar
Novice
Aug 3, 2012, 12:24 PM
Post #1 of 2
(11360 views)
|
Quantifier error!
|
Can't Post
|
|
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 batch.check.interval <sec> with batch.check.interval 2 Regards Anil
|