Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion edtf/natlang/en.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def text_to_edtf_date(text):
is_approximate = is_approximate or re.findall(r'\bcirca\b', t)
# the word 'approx'/'around'/'about' anywhere
is_approximate = is_approximate or \
re.findall(r'\b(approx|around|about)', t)
re.findall(r'\b(approx|around|about|abt)', t)
# a ~ before a year-ish number
is_approximate = is_approximate or re.findall(r'\b~\d{4}', t)
# a ~ at the beginning
Expand Down