Thread:Extension talk:Regex Fun/Alternation

How can you specify alternation ( | ) in the pattern for #regex? e.g. if you want to match ? Alternatives such as calling #regex twice won't work for me.