Class RegularExpression
└
Object
Represents a regular expression that can be used for matching and parsing strings.
RegularExpression objects can be created explicitly from strings, but are more typically created
using the shorthand syntax: /regex/.
- Source Code:
- View Source
Constant Summary
Initializer Summary
init (regex :)String - Creates a new
RegularExpression. init (regex :,String flags :)Int - Creates a new
RegularExpressionwith the given flags.
Inherited Fields: