Message-ID: <1332123608.5375.1411410226253.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_5374_1147993408.1411410226253" ------=_Part_5374_1147993408.1411410226253 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