in reply to Re^2: string match using with an N in any position
in thread string match using with an N in any position
Anyway if the "rules" can be described as a regex generation algorithm, then I am suggesting in this thread an "additional tool to add to the Perl toolbox".
This had the added benefit of when the end user thinks that something should have either matched or not matched, the test output of the module can print regex'es for test cases (mine does). And the terms are simple enough that a user familiar with Windows '.', and '*' wildcards can tell me some new case to add or delete.
This "write the regex" code replaced what my working group came to call "the regex from hell" - so complicated that you might have to read Mastering Regular Expressions by Jeffrey-Friedl several times before you could understand it!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: string match using with an N in any position
by bart (Canon) on Nov 22, 2011 at 18:00 UTC |