View Single Post
  #71 (permalink)  
Old 01-20-2009, 03:47 PM
chlauber chlauber is offline
Senior Member
 
Posts: 72
Default

Quote:
Originally Posted by cheesegrits View Post
You need to fiddle with the matchingRegEx in your zimlet config. Which can be a little scary if you aren't familiar with regex pattern matching.

Someone mentioned building a better, multi-purpose regex earlier in this thread, but I haven't seen any followup on that yet. I'm about to start rebuilding my matchingRegEx to recognize more formats, I'll post when I have something working.

-- hugh
Thats still an unsolved issue I was trying to implement language dependent regexp, which means the regexp would be a key in the language properties file. I think this would solve some issus. E.g. in countries where German is spoken the separator '-' is used for dates, so its almost impossible to get a regexp that also covers '-' in phone numbers. But in English countries '/' is used for dates and '-' for phone numbers. Sadly i was still unable to change the regex dynamically in the Zimlets Javascript environment. Any help is appreciated...And Yahoo/Zimbra please update the Zimlets Whitepaper!
Reply With Quote