Grasshopper

algorithmic modeling for Rhino

Hi,

I know something fundamental about the Match Text component .Where I get is:

However I donot know anything about the R&C param .Who could explain anything ?

Thanks .

Views: 6566

Replies to This Discussion

C is easy. If you set C to False then the casing of text is ignored. "B" is the same as "b".

R allows you to use a RegEx expression instead of a wildcard pattern. Regular Expressions are very powerful, but very complicated. I do not understand the syntax so I cannot explain it, but there are plenty of online resources for it.

--

David Rutten

david@mcneel.com

Tirol, Austria

Did not know this component existed...let alone that a component in GH accepted regexs. I've been writing all of mine with ghPython components, which is kind of a clunky way to use regexs. Would you mind telling me which version of regexs the TextMatch component supports? Are these Perl Compatible Regular Expressions (PCRE)?

These are standard .NET regex expressions

Thanks, David.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service