
[header]

# 3-letter language code as used in user dictionaries
language = DUN

[data]

# expand roman numbers in address mode
!(\x1b\\tn=address\\.*?\s+)i(\s+)! --> "$1 1$2"
!(\x1b\\tn=address\\.*?\s+)ii(\s+)! --> "$1 2$2"
!(\x1b\\tn=address\\.*?\s+)iii(\s+)! --> "$1 3$2"
!(\x1b\\tn=address\\.*?\s+)iv(\s+)! --> "$1 4$2"
!(\x1b\\tn=address\\.*?\s+)v(\s+)! --> "$1 5$2"
!(\x1b\\tn=address\\.*?\s+)vi(\s+)! --> "$1 6$2"
!(\x1b\\tn=address\\.*?\s+)vii(\s+)! --> "$1 7$2"
!(\x1b\\tn=address\\.*?\s+)viii(\s+)! --> "$1 8$2"
!(\x1b\\tn=address\\.*?\s+)ix(\s+)! --> "$1 9$2"
!(\x1b\\tn=address\\.*?\s+)x(\s+)! --> "$1 10$2"

# Add a pause in front of a high way number
!([Ss]nelweg\s+)([A-Z]\d+)! --> "$1\x1b\\pause=100\\ $2"

# Replace the character 'ä'  by 'i' in address mode (for German streetnames): Note dangerous for side effects!
!(\x1b\\tn=address\\.*?)ä! --> "$1i"

# 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 "


# avoid '.' at the end when an audio file is inserted
!(audio=\".*\"\\)+(\.)! --> "$1"
