Subject: | a discuss with wildcards |
Date: | Fri, 7 Jul 2017 09:35:14 +0000 |
To: | "bug-Regexp-Wildcards [...] rt.cpan.org" <bug-Regexp-Wildcards [...] rt.cpan.org> |
From: | Wenshuai Guo <wenshuai.guo [...] ericsson.com> |
Hi, Vincent:
First , thanks for your contribution, The module is helpful.
I find a bug when use the module.
[The SW version]
Regexp-Wildcards-1.05
Perl v5.22.1
Ubuntu16.04 and window7
The Description:
There are string 'abs123456' used for test.
When do match by pattern '123' on wildcards mode. It shouldn't be matched in my opinion. It should only match the string '123' when wildcards.
There are example for wildcards application, the 'find' command on linux. Wildcard 't' just match the file 't'.
[cid:image002.jpg@01D2F747.6222C430]
So, I think if convert wildcards 't' to regexp, it should be '^t$'.
Please reply me if you receiving the report,.
BR/Wenshuai