Skip to content

Commit f33b237

Browse files
Change the content
1 parent b4a0cc5 commit f33b237

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/spec/spec.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ The conforming implementation of the specification is released and included in t
2020
1. [Overview](#1-overview)
2121
2. [Operations](#2-operations)
2222
* 2.1. [Matches](#21-matches)
23-
* 2.2. [Replace All](#22-replace-all)
24-
* 2.3. [Replace](#23-replace)
25-
* 2.4. [Split](#24-split)
26-
* 2.5. [Search](#25-search)
23+
* 2.2. [Replace](#22-replace)
24+
* 2.3. [Split](#23-split)
25+
* 2.4. [Search](#24-search)
2726

2827
# 1. Overview
2928
This library is based on [regular expressions](https://en.wikipedia.org/wiki/Regular_expression), which are notations
@@ -67,13 +66,13 @@ the provided replacement string or string returned by the provided function.
6766
public isolated function replace(string originalString, string regex, Replacement replacement, int startIndex = 0) returns string;
6867
```
6968

70-
## 2.4. Split
69+
## 2.3. Split
7170
This splits a string into an array of substrings, using the provided regex as the delimiter.
7271
```ballerina
7372
public isolated function split(string receiver, string delimiter) returns string[];
7473
```
7574

76-
## 2.5. Search
75+
## 2.4. Search
7776

7877
The search APIs extract substring/s of the string.
7978

0 commit comments

Comments
 (0)