An easy to use pattern matching for Ring.
ringpm install regex
load "regex.ring"
ptrn = "ring"
str = "ring without gems is not a real ring"
re = new Regex(ptrn)
see re.match(str)
# output: ring
for match in re.matchall(str)
see match
next
/*
output:
ring
ring
*/
Regex-ring is released under the MIT License.