[header]
# 3-letter language code as used in user dictionaries
language = PTP
charset = utf-8

[data]
# Avoid that slash is read literally, and add phrase boundary
!(E\d+)/(A\d+)!   -->   "$1 \\pause=100\\ $2 "
!(E\d+)/(\d+)!   -->   "$1 \\pause=100\\ $2 "
!(E\d+)/(E\d+)!   -->   "$1 \\pause=100\\ $2 "
#
# replace 1a for firts, 2a for second, ...
!\s+1a\s+!   -->   " primeira "
!\s+2a\s+!   -->   " segunda "
!\s+3a\s+!   -->   " terceira "
#
# replace I-[0-9]  by Interstate followed by the number
!\bI-([0-9])!   -->   "Interstate $1"
#
# replace [N]  followed by street name by North followed by street name
!\s+[N](\.*)(\s+\.*)!   -->   "North$2"
#
# replace [S]  followed by street name by South followed by street name
!\s+[S](\.*)(\s+\.*)!   -->   "South$2"
#
# replace [W]  followed by street name by West followed by street name
!\s+[W](\.*)(\s+\.*)!   -->   "West$2"
#
# replace [E]  followed by street name by West followed by street name
!\s+[E](\.*)(\s+\.*)!   -->   "East$2"
#
# replace the second Dr(.) by drive if there's a second Dr furter in the input.
!([Dd]r\.{0,1}\s+[A-Z].+?\s+)[Dd]r(\b)!   -->   "$1drive$2"
#
#
# avoid '.' at the end when an audio file is inserted
!(audio=\".*\"\\)+(\.)!   -->   "$1"
#
#
#
