Files
linguist/samples/Regular Expression/ordinal.regex
2017-02-02 11:08:20 -08:00

2 lines
81 B
Plaintext

\b(\d*1[1-3]th|\d*0th|(?:(?!11st)\d)*1st|\d*2nd|(?:(?!13rd)\d*)3rd|\d*[4-9]th)\b