Skip to content

Commit

Permalink
date parsing fix for voice originated text
Browse files Browse the repository at this point in the history
  • Loading branch information
dheerajavaamo committed Apr 14, 2021
1 parent 89e1dd1 commit d18b746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parsers/EN/ENMonthNameLittleEndianParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var PATTERN = new RegExp('(\\W|^)' +
'(([0-9]{1,2})(?:st|nd|rd|th)?|' + util.ORDINAL_WORDS_PATTERN + ')' +
')?' +
'(?:-|\/|\\s*(?:of)?\\s*)' +
'(Jan(?:uary|\\.)?|Feb(?:ruary|\\.)?|Mar(?:ch|\\.)?|Apr(?:il|\\.)?|May|Jun(?:e|\\.)?|Jul(?:y|\\.)?|Aug(?:ust|\\.)?|Sep(?:tember|\\.)?|Oct(?:ober|\\.)?|Nov(?:ember|\\.)?|Dec(?:ember|\\.)?)' +
'(Jan(?:uary)?(:?\\.)?|Feb(?:ruary)?(:?\\.)?|Mar(?:ch)?(:?\\.)?|Apr(?:il)?(:?\\.)?|May|Jun(?:e)?(:?\\.)?|Jul(?:y)?(:?\\.)?|Aug(?:ust)?(:?\\.)?|Sep(?:tember)?(:?\\.)?|Oct(?:ober)?(:?\\.)?|Nov(?:ember)?(:?\\.)?|Dec(?:ember)?(:?\\.)?)' +
'(?:' +
'(?:-|\/|,?\\s*)' +
'([0-9]{1,4}(?![^\\s]\\d))' +
Expand Down

0 comments on commit d18b746

Please sign in to comment.