[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Annotate and Lilyglyphs
From: |
Noeck |
Subject: |
Re: Annotate and Lilyglyphs |
Date: |
Fri, 06 Feb 2015 22:18:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Hi Urs,
to be a bit more clear and verbose:
>> Usually a question mark should solve this:
>> @.*@ versus @.*?@
The former matches the longest possible string enclosed in @’s:
For “This @is@ a simple @address@hidden, the matched pattern is:
address@hidden@ a simple @address@hidden
The latter matches the shortest possible string, i.e. two groups:
address@hidden@” and address@hidden@”.
You could also enforce this by now allowing all characters between the @:
e.g. @[-a-zA-Z\\_]*@
This page is a nice tool to test a list of cases:
http://regexpal.com/
Cheers,
Joram
- Re: Annotate and Lilyglyphs, (continued)
- Re: Annotate and Lilyglyphs, Urs Liska, 2015/02/05
- Re: Annotate and Lilyglyphs, Craig Dabelstein, 2015/02/05
- Re: Annotate and Lilyglyphs, Urs Liska, 2015/02/05
- Re: Annotate and Lilyglyphs, Craig Dabelstein, 2015/02/06
- Re: Annotate and Lilyglyphs, Craig Dabelstein, 2015/02/06
- Re: Annotate and Lilyglyphs, Urs Liska, 2015/02/06
- Re: Annotate and Lilyglyphs, Craig Dabelstein, 2015/02/06
- Re: Annotate and Lilyglyphs, Urs Liska, 2015/02/06
- Re: Annotate and Lilyglyphs, Noeck, 2015/02/06
- Re: Annotate and Lilyglyphs, Urs Liska, 2015/02/06
- Re: Annotate and Lilyglyphs,
Noeck <=
- Re: Annotate and Lilyglyphs, Br. Samuel Springuel, 2015/02/06
- Re: Annotate and Lilyglyphs, Urs Liska, 2015/02/06
- Re: Annotate and Lilyglyphs, Craig Dabelstein, 2015/02/06
- Re: Annotate and Lilyglyphs, Urs Liska, 2015/02/06
- Re: Annotate and Lilyglyphs, Urs Liska, 2015/02/06
- Re: Annotate and Lilyglyphs, Craig Dabelstein, 2015/02/06
- Re: Annotate and Lilyglyphs, Urs Liska, 2015/02/07
- Re: Annotate and Lilyglyphs, Urs Liska, 2015/02/07
- Re: Annotate and Lilyglyphs, Craig Dabelstein, 2015/02/07
- Re: Annotate and Lilyglyphs, Urs Liska, 2015/02/07