Hello
I got following string:
abc_IoExtFscInjS_GetGlobalDatasetActvMethod
and i do a regex on this in an if statement:
if ( ($__item =~m/(?!Eth.+cfg)Eth/i) || ($__item=~m/(?!abc_Eth.+cfg)abc_Eth/i) )
Its matching.. I do not know why.. It should not match
as in the string there is no "Eth" and no "abc_Eth"..
This makes me going crazy..
Any help is welcome!
Best regards! Tobias
In reply to Regex matches string, i do not know why?! by tobias_hofer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |