Documentation
¶
Overview ¶
Package regex exposes JVM-faithful java.util.regex equivalents for code running on glojure. Static methods (Pattern/compile, Pattern/matches, Pattern/quote) and Pattern flag constants are published through pkgmap under both the bare "Pattern." prefix and the fully qualified Go path. Instance methods on *Pattern and *Matcher (matcher, find, group, ...) are reached at runtime through lang.FieldOrMethod, which dispatches via reflection on the receiver; the gojava regex package uses capitalized, variadic method signatures so the JVM's overloaded forms collapse to a single Go method per name.
Index ¶
Constants ¶
const ( CASE_INSENSITIVE = jregex.CASE_INSENSITIVE MULTILINE = jregex.MULTILINE LITERAL = jregex.LITERAL DOTALL = jregex.DOTALL UNICODE_CASE = jregex.UNICODE_CASE )
Variables ¶
This section is empty.
Functions ¶
func Compile ¶
Compile mirrors Pattern.compile(String). Single-arg form; the flag-aware overload is reached via CompileFlags.
Types ¶
This section is empty.