Hmm, not sure if [^] and [^*] are even defined ;) I pushed a fix with .
instead, which I think is more correct. Can you check if that works on IE?

- Alon



On Fri, May 23, 2014 at 9:12 AM, wolfviking0 <[email protected]> wrote:

>  An other fix for this regex on IE, apparently the  parameter it's
> depending of the browser on all the browser the parameter have a space
> after function, but not with IE.
> I change the regex from
>
> */^function \((.*)\)\s*{\s*([^]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/*
>
> with
>
> *^function**\s***\((.*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$*
>
>
>> It's now parsing correctly on IE :)
>>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to