Re: Strange pattern matches for \_.*

2013-07-29 Fir de Conversatie Dimitar DIMITROV
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

Re: Strange pattern matches for \_.*

2013-07-29 Fir de Conversatie Christian Brabandt
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

Re: Strange pattern matches for \_.*

2013-07-29 Fir de Conversatie Dimitar DIMITROV
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

Re: Strange pattern matches for \_.*

2013-07-29 Fir de Conversatie Christian Brabandt
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

Re: Strange pattern matches for \_.*

2013-07-29 Fir de Conversatie Dimitar DIMITROV
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

Strange pattern matches for \_.*

2013-07-26 Fir de Conversatie Dimitar DIMITROV
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