mcmodwiki
Mods › HexStuff › Guidebook › Regular Expressions

Regular Expressions

HexStuff 0.3.0.

I've read tales of grand mages using arcane and inscrutable strings of characters understood by Nature known as a regular expression, representing a certain pattern in text for Nature to find.

I believe I have found the texts describing the syntax of this language here.

Have you tried using an XML parser instead?

Creates a regular expression based on the provided string.

Finds all matches of the regular expression in the string. Each element of the resulting list is a match, each match being a list of its capture groups, with group 0 being the whole match.

Sets or clears the i flag, which makes the regular expression be case-insensitive when set.

Sets or clears the s flag, which makes a . able to match a newline when set.

Sets or clears the m flag, which makes ^ and $ match the start and end of a line when set.

What it is about

Banner Pattern
Mods › HexStuff › Guidebook › Regular Expressions