You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ballerina/natives.bal
+25-40Lines changed: 25 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -38,25 +38,25 @@ public isolated function matches(string stringToMatch, string regex) returns boo
38
38
# + originalString - The original string to replace the first occurrence of the
39
39
# substring that matches the provided regex
40
40
# + regex - The regex to match the first substring in the `originalString` to be replaced
41
-
# + replacement - The replacement string or A function to be invoked to create the new substring to be used to replace the first match to the given regex
41
+
# + replacement - The replacement string or A function to be invoked to create the new substring to be
42
+
# used to replace the first match to the given regex
42
43
# + startIndex - The starting index for the search
43
44
# + return - The resultant string with the replaced substring
0 commit comments