Regex.getCompileFlags

Returns the compile options that @regex was created with.

Depending on the version of PCRE that is used, this may or may not include flags set by option expressions such as (?i) found at the top-level within the compiled pattern.

Return: flags from #GRegexCompileFlags

class Regex
getCompileFlags
()

Meta

Since

2.26