Re: [Clip] Setting Variables from text
- --- In email@example.com, "Don - HtmlFixIt.com" <don@...> wrote:
>That is true, but it seems kind of silly to be using arrays and
> I believe you are a victim of a bug that arose in the latest
> version of notetab and that has been reported. GetReSubstrings
> will not work if there is just one substring! Add a second
> substring and you will get what you want.
getresubstrings when there is only one substring. You can use ^!Find
to find a whole pattern or a substring, and assign ^$GetSelection$ to
The original command given was
^!Find "^Source\=(.+)\R" RS
and the ultimate variable (%source%) comes from substring 1.
This pattern could be written so as to need no substrings. But for
simplicity, I'm not changing the pattern.
^!Find "^Source\=(.+)\R" RS1