klyn.regex.RegEx.RegEx
constructor
public native RegEx(pattern as String, flags as Int = 0) throws RegExException:
Description

RegEx constructor.

Parameters
ParameterDescription
patternThe regular expression pattern as a string.
flagsOptional integer representing regex flags (e.g., case-insensitive, multiline).
Throws
  • RegExException if the pattern is not a valid regular expression.