#!/bin/sh cp syntax.txt syntax.wiki sam -d syntax.wiki <<'!' ,s!`!`````!g ,s!== (([^()]|\([^()]*\))*)!≡ `\1`!g ,s!«!`!g ,s!»!`!g ,s! vim$! VIM!g ,s! pcre$! PCRE!g ,s! perl$! PERL!g ,s!(^[^ ]+) (.*)\n!`\1` \2\n!g ,x g/NOT SUPPORTED/ s!^[^ ]+!&! ,s!NOT SUPPORTED!(&)!g ,s!(^[^ ]+) (.*)\n!
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. |