Created
January 24, 2021 18:29
-
-
Save trycf/7867dc3eb485dc9047088cc9168192fd to your computer and use it in GitHub Desktop.
TryCF Gist
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
<cfscript> | |
seuss = "ika tahi, ika rua, ika whero, ika kikorangi, ika mangu, ika kikorangi, ika tawhito, ika hou"; | |
regex = "(?i)\b(\w+)\s+(whero|kikorangi|mangu)(?=,|$)"; | |
colouredThings = reFind(regex, seuss, 1, true, "all"); | |
writeDump(colouredThings); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment