Message-ID: <795135652.251.1427535419345.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_250_2037134939.1427535419344" ------=_Part_250_2037134939.1427535419344 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