To extend to any number of non-adjacent wildcards, is it a good idea to put the 2 lines in a loop or would it be better to do in another way?
for (j in 1:wildcards_nb){ #where wildcards_nb is the user's free para +meter substr($regex, $i, 1) = '.'; push @regexes, $regex; }
In reply to Re^4: search of a string in another string with 1 wildcard
by carolw
in thread search of a string in another string with 1 wildcard
by carolw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |