@Glauber
has the function for capturing groups works with you?
@Pent
have you tested the function for capturing groups. Namely, it works not with me.
please excuse my bad English.
Sorry to bring up an old topic, but it's exactly what I'm working on. I'm trying to do a Search for a regex capture group, but it puts the whole thing (multiple groups) into the variable. I'm not intending to replace anything, which is where I believe we would use $1 to refer to it. How can I get just the group I want in the variable? I would have thought the variable array would have contained each match, but that is not the case.
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
easiest, that looks interesting, I'll have to look at it more tonight when I get home from work. I wonder if it will work for my situation!
That's what I am doing in most cases, but I have one situation where the before-string has a variable length and variable length lookbehinds are not supported in Tasker's regex (plus I understand they can be time consuming). So that's where my dilemma comes into play! I have a perfect regex that pulls what I need as a group, but Tasker doesn't allow me to pull the group out as a variable, which is what need to do.
Clever! That may just work! I'll have to try it a little later.