regex and /g modifiers
Hey guys, just trying to confirm my findings. it seems Freeswitch's regex implementation only implements /s and /i pattern modifiers. Is there a reason /g was ( and others ) were left out. I had assumed we had the full gammut, and it was only after pulling my hair out that I trawled the code and came to see it wasnt there :) -- Sincerely Jay
I suspect that at the time PCRE was implemented 6+ years ago (yikes - has it been that long?!) there wasn't much of a use case for the /g modifier. Can you let us know what issue you are attempting to resolve? I'm wondering if there's another way to handle it. -MC On Mon, Oct 8, 2012 at 7:17 PM, jay binks <jaybinks@gmail.com> wrote:
Hey guys, just trying to confirm my findings.
it seems Freeswitch's regex implementation only implements /s and /i pattern modifiers. Is there a reason /g was ( and others ) were left out.
I had assumed we had the full gammut, and it was only after pulling my hair out that I trawled the code and came to see it wasnt there :)
-- Sincerely
Jay
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (2)
-
jay binks
-
Michael Collins