Hi,
I like this idea so much!
But can you add regexps to match the terms? It will expand the module capabilities to serve more languages and more advanced terms matching in the nodes

Comments

matslats’s picture

Status: Active » Postponed

That sounds like the next stage for this module, but it's not something I'm going to implement, sorry. How would it work? Amongst the synonyms, I guess, you'd just write a PERL regular expression. Then the module would just do a regular expression match instead of an is_int(strpos()).
Well it sounds quite simple. What are the security implications of allowing users to put regexps in the database? Would the module need to add a permission? Would it be ok to assume that each synonym was a regular expression, or would there need to be a setting, or would /delimiters/ tell the code which matching function to use?
If you actually have a ned for this, maybe you could offer a bounty and more exact specifications?
Matthew

matslats’s picture

Status: Postponed » Closed (fixed)

Reg exps now added, thanks to a contribution from Miraploy.
Tell me what you think.

huss’s picture

Hi again,
How can I use regexps with this module? And where is version 2?