Skip to content

Latest commit

 

History

History
36 lines (17 loc) · 1.13 KB

NOTES.md

File metadata and controls

36 lines (17 loc) · 1.13 KB

Date (and Time) Formats

Regex / Patterns

Word boundary \b

WARNING - Word boundary \b does NOT work for non-latin alphabets The word boundary test \b checks that there should be \w on the one side from the position and "not \w" – on the other side.

But \w means a latin letter a-z (or a digit or an underscore), so the test does NOT work for other characters, e.g. cyrillic letters or hieroglyphs.

More Formats

Add here

Gems / Libraries

Date Formats (& More)

Unicode's Common Locale Data Repository (CLDR)

contains tons of high-quality locale data such as formatting rules for dates, times, numbers, currencies as well as language, country, calendar-specific names etc.

http://cldr.unicode.org