#!/bin/sh
cp syntax.txt syntax.html
sam -d syntax.html <<'!'
,s/\&/\&/g
,s/\</g
,s/>/\>/g
,s!== (([^()]|\([^()]*\))*)!≡ \1
!g
,s!«!!g
,s!»!
!g
,s! vim$! VIM!g
,s! pcre$! PCRE!g
,s! perl$! PERL!g
,x g/NOT SUPPORTED/ s!^[^ ]+!&!
,s!NOT SUPPORTED!!g
,s!(^[^ ]+) (.*)\n!
\1
This page lists the regular expression syntax accepted by RE2. | |
It also lists syntax accepted by PCRE, PERL, and VIM. | |
Grayed out expressions are not supported by RE2. |