Don - HtmlFixIt.com wrote:
> I have a clip that was working great previously and now is not. I
> suspect that there is a problem with getresubstrings.
> I find the email address I am looking for with the following line, but
> the set doesn't set anything.
> ^!Find "\r\nEmail: (.*@.*\..*)\r\n" CIWRS
> ^!Set %eMail%=^$StrLower(^$GetReSubStrings$)$
> The email address is highlighted. I suspect a bug in regex or the
> getresubstring command .... or I'm missing something basic, but it
> worked in prior versions of notetab and no longer does.
I have confirmed that this is not working properly (or like it used to
Note that I missed a backslash in my find above, but that is/was not the
issue as I had it right in my actual clip:
^!Find "\r\nEmail\: (.*@.*\..*)\r\n" CIWRS
Here is what I found:
* used to -- work if there is one (subpattern) in the find in prior
versions of notetab
* now -- only works correctly if there are two or more (subpatt)(erns)
in the find!
I think it should work with just one subpattern found to be honest,
despite the fact there is an s at the end of getresubstringS.
I have copied the list most commonly read by Eric even though this post
is primarily meant for the clips list. I hope that is okay? Is there
still a bugs list and is that commonly read as well? I don't think I am
a member if there is such a list.