Empty string does not test/match #14

Closed
opened 2015-12-30 16:33:17 +00:00 by benibela · 1 comment
benibela commented 2015-12-30 16:33:17 +00:00 (Migrated from github.com)
 f := TFLRE.Create('.*?', [rfUTF8]);
 f.Test('') 

should be true.

Btw, what is the fastest way to test if the regex could match the empty string? I do not need to test them, I need to detect and reject them as invalid regexps

``` f := TFLRE.Create('.*?', [rfUTF8]); f.Test('') ``` should be true. Btw, what is the fastest way to test if the regex could match the empty string? I do not need to test them, I need to detect and reject them as invalid regexps
BeRo1985 commented 2015-12-30 23:43:16 +00:00 (Migrated from github.com)

Should be fixed in the lastest commit now.

Should be fixed in the lastest commit now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BeRo1985/flre#14
No description provided.