Hi all,
Not sure why /\_.* matches at every line Vs only once...
I would expect a single match at start of file because \_. matches any char
including end of line and * is greedy
/pattern\_.* does what I expect: it matches from pattern to end of file
Dimitar
An update/clarification on
On Mon, July 29, 2013 14:59, Dimitar DIMITROV wrote:
Hi all,
Not sure why /\_.* matches at every line Vs only once...
I would expect a single match at start of file because \_. matches any
char including end of line and * is greedy
/pattern\_.* does what I expect: it matches from pattern to
Hi all,
Not sure why /\_.* matches at every line Vs only once...
I would expect a single match at start of file because \_. matches any
char including end of line and * is greedy
/pattern\_.* does what I expect: it matches from pattern to end of file
Dimitar
An
On Mon, July 29, 2013 16:14, Dimitar DIMITROV wrote:
Hi all,
Not sure why /\_.* matches at every line Vs only once...
I would expect a single match at start of file because \_. matches
any
char including end of line and * is greedy
/pattern\_.* does what I expect: it matches from
Hi all,
Not sure why /\_.* matches at every line Vs only once...
I would expect a single match at start of file because \_. matches
any
char including end of line and * is greedy
/pattern\_.* does what I expect: it matches from pattern to end of
file
Dimitar
An
Hi all,
Not sure why /\_.* matches at every line Vs only once...
I would expect a single match at start of file because \_. matches any char
including end of line and * is greedy
/pattern\_.* does what I expect: it matches from pattern to end of file
Dimitar
---
GPG Key: 2048R/160C6FA8