Allowed digits in station name
This commit is contained in:
parent
5ab092eed5
commit
9cd68b4734
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ from .utils import *
|
|||
|
||||
RO_LETTERS = r'A-Za-zăâîșțĂÂÎȚȘ'
|
||||
|
||||
STATION_INFO_REGEX = re.compile(rf'^([{RO_LETTERS}. ]+) în ([0-9.]+)$')
|
||||
STATION_INFO_REGEX = re.compile(rf'^([{RO_LETTERS}.0-9 ]+) în ([0-9.]+)$')
|
||||
|
||||
STOPPING_TIME_REGEX = re.compile(r'^(necunoscută \(stație terminus\))|(?:([0-9]+) (min|sec) \((?:începând cu|până la) ([0-9]{1,2}:[0-9]{2})\))$')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue