in reply to Re: Pattern matching when there are exception strings
in thread Pattern matching when there are exception strings

No, there are no limitations on the search strings that are relevant to finding a solution, other than that they always match the regexp \w+.

Thanks,

The Moron

Free your mind

  • Comment on Re^2: Pattern matching when there are exception strings

Replies are listed 'Best First'.
Re^3: Pattern matching when there are exception strings
by sauoq (Abbot) on Sep 21, 2005 at 13:47 UTC

    You might consider removing your exceptions with s///g and seeing if you have your search string left over. Not an efficient or clean solution to be sure, but it'll work. If you can't find another hook in your spec, it's a messy problem.

    -sauoq
    "My two cents aren't worth a dime.";
    
      That's not such a bad idea, given that every exception needs to have some effect in some way or another before the search string itself can be applied successfully.

      Thanks,

      the Moron

      Free your mind