From OpenSCADAWiki
As arguments for creating the object, a string with regular expression text and a flags box in the form of a character string is passed:
- 'g' — global match mode, that is meant the request repeating for processing all expressions up to empty result array;
- 'i' — case insensitive match mode;
- 'm' — multi-line match mode;
- 'u' — compulsion for UTF-8 characters resolution, for other locales;
- 'p' — testing the expression by the usual template rule with the key characters: '?', '*' and '\'.