diff --git a/lang/spec.html b/lang/spec.html index c65e7be4..2cc193de 100644 --- a/lang/spec.html +++ b/lang/spec.html @@ -42,6 +42,10 @@

Ballerina Language Specification, 2022R4 preview

make changes that introduce significant incompatibilities.

+This release contains a preview of the regular expression feature. Minor +changes may be made before it becomes stable. +

+

Comments on this document are welcome and should be made by creating an issue in https://github.com/ballerina-platform/ballerina-spec, which is the @@ -10841,7 +10845,7 @@

Ballerina Flavored Markdown

10. Data tags

-

Regular expressions

+

Regular expressions (preview)

The re data tag is used for regular expressions. The lang library @@ -11287,7 +11291,7 @@

lang.object module

-

lang.regexp module

+

lang.regexp module (preview)

The lang.regexp module corresponds to the basic type for the tagged data type with tag re.

@@ -11390,7 +11394,8 @@

B. Changes since previous releases

Summary of changes from 2022R3 to 2022R4

    -
  1. Regular expressions have been added as a new data type.
  2. +
  3. Regular expressions have been added as a new data type. This +feature has preview status in this release.
  4. A byte-array-literal can construct a read-only value.
  5. An optional semi-colon is now allowed after top-level definitions and method definitions that are currentlty terminated by }.