User:Ohconfucius/test/MOSNUM utils.js: Difference between revisions

Content deleted Content added
use 'token' terminology consistently
+ warning about false positives with date tokens
Line 64:
* Note: The capturing tokens start with an uppercase letter whereas the
* equivalent non-capturing tokens start with a lowercase letter.
*
* Warning: These tokens should only be used in patterns that contain the
* expected date pattern (like /@YYYY-@ZM-@ZD/), because they're not restricted
* to valid matches. For example, /@ZD/ (zero-padded day) will match the
* '20' and '14' in 2014.
*
* Days: