Closed AdCsoft closed 6 years ago
The regexp generated for any pattern is not "pattern" but must be: "^pattern$" otherwise any expression incuding a valid expression will match, for example if the pattern in a typedef is "[A].*[B]" QQQQQABQQQQ would match. :-) ciao Andrea
Thanks, you’re right. I’ll update code to force a complete string match.
The regexp generated for any pattern is not "pattern" but must be: "^pattern$" otherwise any expression incuding a valid expression will match, for example if the pattern in a typedef is "[A].*[B]" QQQQQABQQQQ would match. :-) ciao Andrea