Regex


Object Hierarchy:

Object hierarchy for Regex

Description:

public class Regex : Object

Static utility methods for regular expressions.

This helper provides lightweight one-shot regex operations without manually managing GLib.Regex instances.

Example:

    bool ok = Regex.matches ("abc-123", "^[a-z]+-[0-9]+$");
string replaced = Regex.replaceAll ("a,b,c", ",", "|");


Namespace: Vala.Text
Package: Valacore

Content:

Static methods:

Creation methods:

Inherited Members:

All known members inherited from class GLib.Object