BeRo1985 / flre

FLRE - Fast Light Regular Expressions - A fast light regular expression library
GNU Lesser General Public License v2.1
94 stars 23 forks source link

Calling TFLRE.Create without the second parameter raises an exception #55

Closed rchastain closed 4 years ago

rchastain commented 4 years ago

Hello!

Calling TFLRE.Create without the second parameter is possible but raises an unhandled exception:

EFLRE: Unknown regular expression modifier flag

Is it the expected behaviour?

Regards.

Roland

BeRo1985 commented 4 years ago

Yes, it is the expected behaviour, because FLRE expects then a input regex string for example like in the form /regex/flags for example /d+/g

rchastain commented 4 years ago

I see. Thank you for the explanation.