Re: [Clip] Extracting text from a music .XML file.
- Very helpful John. I probably mixed thoughts there without a clue to
the reader ...
So I now understand that with \K, if I have a captured group before
that, I can still use it. I need to get the \1 bit down a little better
as I don't currently use it. It means repeat a captured sub-pattern,
The other thought was that Flo had used this:
If I am understanding Flo I CANNOT later use that content as it is never
put in memory. So it is find single or end and the parenthesis is for
grouping the or items, but the ?: stops the capture from being stored.
Am I in the ballpark anyway folks?
Thanks for the lessons!
On 11/14/2012 9:54 AM, John Shotsky wrote:
> Anything enclosed in parens can be recalled with $. \K simple means to not capture FOR REPLACEMENT. So if the paren
> phrase precedes \K you can recall it. I do that a lot. It's useful for finding duplicates, for example, using \1 just
> after the \K
> RecipeTools Web Site: <http://recipetools.gotdns.com/> http://recipetools.gotdns.com/
> From: firstname.lastname@example.org [mailto:email@example.com] On Behalf Of Don
> Sent: Wednesday, November 14, 2012 06:41
> To: firstname.lastname@example.org
> Subject: Re: [Clip] Extracting text from a music .XML file.
> So when I then use $1, etc. do I skip non-capturing groups in my count?
> Wow do I learn from you! Started actually using \K this week with
> success :-)
> On 11/14/2012 8:54 AM, flo.gehrke wrote:
>> Non-capturing group -- content isn't stored in memory.
> [Non-text portions of this message have been removed]
> Fookes Software: http://www.fookes.com/
> NoteTab website: http://www.notetab.com/
> NoteTab Discussion Lists: http://www.notetab.com/groups.php
> Yahoo! Groups Links
- Hello flo
Brilliant. Later on today I will alter the clip and instructions on my webpage. How you have managed to account for different line lengths in verses baffles me but thanks and I'll give appropriate thanks on the webpage when I re do it, including your further advice.
----- Received the following content -----
Time: 2012-11-16, 13:42:25
Subject: Re: [Clip] Extracting text from a music .XML file.
[Non-text portions of this message have been removed]