Overview
| Comment: | [graphspell] tokenizer: add chars to \w replacement (JS still sucks) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | graphspell | rg |
| Files: | files | file ages | folders |
| SHA3-256: |
c185b3fc04fb1314ae009a30fc730171 |
| User & Date: | olr on 2018-09-17 09:00:37 |
| Other Links: | branch diff | manifest | tags |
Context
|
2018-09-17
| ||
| 09:32 | [build] conversion to JS update check-in: ca8457058e user: olr tags: build, rg | |
| 09:00 | [graphspell] tokenizer: add chars to \w replacement (JS still sucks) check-in: c185b3fc04 user: olr tags: graphspell, rg | |
|
2018-09-16
| ||
| 19:27 | [fr] ajustements: expressions régulières pour Python et JS check-in: 10b5745d47 user: olr tags: fr, rg | |
Changes
Modified graphspell-js/tokenizer.js from [aac6560c8a] to [49d1f9c490].
| ︙ | |||
19 20 21 22 23 24 25 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | - + - + |
[/^[#@][a-zA-Zà-öÀ-Ö0-9ø-ÿØ-ßĀ-ʯfi-st_-]+/, 'TAG'],
[/^<[a-zA-Zà-öÀ-Ö0-9ø-ÿØ-ßĀ-ʯfi-st]+.*?>|<\/[a-zA-Zà-öÀ-Ö0-9ø-ÿØ-ßĀ-ʯfi-st]+ *>/, 'HTML'],
[/^\[\/?[a-zA-Zà-öÀ-Ö0-9ø-ÿØ-ßĀ-ʯfi-st]+\]/, 'PSEUDOHTML'],
[/^&\w+;(?:\w+;|)/, 'HTMLENTITY'],
[/^\d\d?h\d\d\b/, 'HOUR'],
[/^\d+(?:[.,]\d+|)/, 'NUM'],
[/^[%‰+=*/<>⩾⩽-]/, 'SIGN'],
|
| ︙ |