##// END OF EJS Templates
grep: don't search past the end of the searched string...
grep: don't search past the end of the searched string '*' causes the resulting RE to match 0 or more repetitions of the preceding RE: >>> bool(re.search('.*', '')) >>> True This causes an infinite loop because currently we're only checking if there was a match without looking at where we are in the searched string.
Idan Kamara -
r17923:1e6b5faf default
Show More