686682891
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\b: Thsis matches a word boundary, ensuring that we only match complete words and not parts of larger words. | |
(?:ga|pit): This matches either "" or "". The | character represents "or" and the "?:"syntax creates a non-capturing group. | |
\b: This matches another word boundary, ensuring that we only match complete words. | |
/g: This is the global flag/pattern, so we match every occurrence of the pattern in the string, not just the first one. | |
/i: Case-insensitive flag/pattern to locate both lower-case and upper-case letters ("", "", "", "", "", "", "", etc.) |