Message-ID: <1010933970.8373.1409422615647.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8372_118505877.1409422615647" ------=_Part_8372_118505877.1409422615647 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Boo has built-in support for regular expression literals.
Here are some samples of using regular expressions in boo:=20 =20
One limitation of using built-in support for regular expressions is that= you can't use non-standard regex options like regex compiled.=20
Actually there is a way to use the ignore case option. Add a (?i) to the= beginnning of your regex pattern like so:=20 =20
But in other cases you may want to just use the .NET Regex class explici= tly:=20 =20
This would be an equivalent to using perl's switch/replace statement: s/= foo/bar/g.=20 =20
Also note, Boo has a built-in primitive type called "regex" (l= owercase) that means the same thing as the .NET Regex class. So you can do = for example:=20 =20