We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-05-24 05:52 AM
Hi,
How long has GDL had Regex functionality in Texts or Textblocks?
I don't think I ever noticed it before.
Is there a way to ask GDL to ignore the Regex language?
Cheers,
Shaun.
Solved! Go to Solution.
2023-05-24 06:38 AM
I have never heard of Regex, but try using a double \\ (or maybe it is triple\\\).
Barry.
2023-05-24 06:38 AM
I have never heard of Regex, but try using a double \\ (or maybe it is triple\\\).
Barry.
2023-05-24 06:42 AM
Yep looks like it is the double, I just googled backslash for Regex and I believe the convention is "\\". I think "\t" is used for the Text I/O Addon.
Cheers,
Shaun.
2023-05-24 06:45 AM
I think \t is tab space.
\n is carriage (line) return.
Barry.
2023-05-24 06:49 AM
Yes, that is correct and is the convention for Regex (Regular Expressions). I thought I would ask about it. I wonder if GS has documented all the possible expressions that can be used in GDL?
2023-05-24 06:53 AM - edited 2023-05-24 06:53 AM
Yep, page 12 of the GDL reference guide.
Barry.