|XP is just a number|
RFC: A module to evaluate keywords expressions on tag lists.by vitoco (Pilgrim)
|on Aug 31, 2009 at 15:43 UTC||Need Help??|
I needed a simple way to test if a list of keywords (tags) had the required words, but one moment later, conditional operators other than AND were required. I didn't find a public module that satisfied my needs. Some of this was discussed in AND and OR on Regular Expressions.
I took my subs and group them in a module, then changed into objects (my first attempt in OOP) and worked nice.
Examples of use:
Now, I want to share my efforts and decided to upload this to CPAN, but I need to define or append to a namespace. I thought on Search::Keywords, but Keywords::Match might be a better one.
Hints for a proper namespace?
Hints for extra features? I'm thinking on set/get parms, reparse, sentences (when tags have more than one word), UTF8 (un)support...