Func Name | Prototype | Description | Comments |
---|---|---|---|
Find | Find(pattern string, str string) string {} | Returns the first match of the pattern in the string | N/A |
FindAll | FindAll(pattern string, str string) []string {} | Returns all matches of the pattern in the string | N/A |
FindAllIndex | FindAllIndex(pattern string, str string) []int {} | Returns the indexes of all matches of the pattern in the string | N/A |
FindIndex | FindIndex(pattern string, str string) []int {} | Returns the first and last index of the first match of the pattern in the string | N/A |
Match | Match(pattern string, str string) bool {} | Returns true if the pattern matches the string | N/A |
Replace | Replace(pattern, str, new string, nb int) string {} | Replaces the nb first matches of the pattern in the string with the new string | N/A |
ReplaceAll | ReplaceAll(pattern string, str string, new string) string {} | Replaces all matches of the pattern in the string with the new string | N/A |
-
Notifications
You must be signed in to change notification settings - Fork 0
License
Eclalang/regex
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published