in reply to Re^3: Deleting a matching string in an array
in thread Deleting a matching string in an array

I kept getting an error: Nested quantifiers in regex; marked by <-- HERE in m/#Software: Microsoft Internet Information Services 6.0

I figured I would get it to remove one of the filters and not get the error then move ahead from there.

Being new to using PERL for this stuff I figured to get the code working and improve on it from there.

I am going to use these suggestions and get it working but the ugly fix I came up with satisfies my supervisor.

  • Comment on Re^4: Deleting a matching string in an array

Replies are listed 'Best First'.
Re^5: Deleting a matching string in an array
by moritz (Cardinal) on Oct 31, 2007 at 06:43 UTC
    That probably means that one (or more) of your robot identifier strings contain *+ or another illegal combination of *+?{...}.

    If you look at my original posting you'll see that it maps the strings through quotemeta, which escapes those characters, making them safe to use in a regex.