RE: Convenience function for passing a pattern and flags to the...

Description Usage Arguments Value Examples

Description

Convenience function for passing a pattern and flags to the right-hand side of an infix regular expression operator.

Usage

1

Arguments

pattern
...

flag names (can be single-character)

Value

RegularExpression

Examples

1
2
3
# matches because the 'i' flag makes it case-insensitive
# and the 's' flag matches the dot to newlines
'a\nb' %~% RE('A.B', 'i', 's')

jdidion/LikeThis documentation built on May 18, 2019, 11:30 p.m.