Closed (fixed)
Project:
autocategorise
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2008 at 22:41 UTC
Updated:
27 Jan 2009 at 22:44 UTC
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
Comment #1
matslats commentedThat 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
Comment #2
matslats commentedReg exps now added, thanks to a contribution from Miraploy.
Tell me what you think.
Comment #3
huss commentedHi again,
How can I use regexps with this module? And where is version 2?