Module regex

ballerina/regex Ballerina library

Deprecated1.4.2

Deprecation Notice: This library is deprecated and will no longer be maintained or updated. Instead, it is recommended to use the ballerina/lang.regexp library for continued support and updates. For more information, see the new RegExp type example, RegExp operations example, and Regular expressions feature guide.

Overview

This module provides APIs for searching, splitting, and replacing the set of characters of a string. These APIs are using a regular expression as a String to perform these operations by finding the string matches.

Regular expressions, are notations for describing sets of character strings. If a particular string is in the set described by a regular expression, the regular expression matches that string.

For information on the operations, which you can perform with the regex module, see the below Functions.

Import

import ballerina/regex;Copy

Metadata

Released date: 11 months ago

Version: 1.4.2

License: Apache-2.0


Compatibility

Platform: java11

Ballerina version: 2201.5.0

GraalVM compatible: Yes


Pull count

Total: 422001

Current verison: 24106


Weekly downloads


Source repository


Keywords

regex

string

regular expressions


Contributors

Other versions

See more...