Skip Menu |

This queue is for tickets about the Text-Modify CPAN distribution.

Report information
The Basics
Id: 12216
Status: resolved
Priority: 0/
Queue: Text-Modify

People
Owner: Nobody in particular
Requestors: lammel [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Wildcard match/replace
Matching and replacing of wildcards (and also pure strings, no regex) would allow for easier usage, for users with limited regex knowhow. The functions should have a seperate method, option to be easily distinguishable.
For Text::Buffer some new methods and helper function have been implemented: replaceRegex replaceString replaceWildcard escapeRegexString convertStringToRegex convertWildcardToRegex For Text::Modify the replace rule now takes either [string|wildcard|regex]=>'MATCH' as an argument, processing it accordingly in the associated rule. Will be released with Text::Modify 0.4