View Single Post
  #121 (permalink)  
Old 08-13-2009, 11:00 AM
gracedman gracedman is offline
Special Member
 
Posts: 130
Default

Ah, yes, I should have made the terminal anchor optional. This should work:

(?:\s|^)(?:\+\d{1,3}(?:\s|\.|\-|\,)?)?(?:\(\d{1,4}\))?\s?\d{1,11}(?:(?:\-|\.|\,|\s)\d{1,10}){0,3}(?:\s|$)

at least it is for me. Of course, it will also match any standalone number but, as long as it does not interfere with other Zimlets, I suppose I'd rather be greedy than overly discriminating. Certainly open to improvements. I'll attach the modified Zimlet if the forum allows it. Hope this helps - John

By the way, for the security conscious:
me@mycomputer:/data/Tech/Zimbra$ md5sum ch_bnc_asterisk_0.65mod.zip
0b3b6ebb7165ffe623ddff2b7af42d45 ch_bnc_asterisk_0.65mod.zip
Attached Files
File Type: zip ch_bnc_asterisk_0.65mod.zip (349.5 KB, 41 views)
__________________
www.spiritualoutreach.com
Making Christianity intelligible to secular society

Last edited by gracedman; 08-13-2009 at 11:02 AM.. Reason: Add md5sum
Reply With Quote