| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix multiline RegEx iteration | Feoramund | 2025-05-26 | 1 | -3/+54 |
| | | | | | | | | | | | In `.Multiline` mode: - `^` is now defined to assert the start of the string or that a "\n" or "\r" rune was parsed on last VM dispatch. - `$` is now defined to consume a newline sequence of "\n", "\r", or "\r\n" or to assert the end of the string. | ||||
| * | Add more RegEx tests | Feoramund | 2025-05-24 | 1 | -6/+160 |
| | | |||||
| * | Remove `Global` RegEx flag, default to unanchored patterns | Feoramund | 2025-05-24 | 1 | -12/+12 |
| | | |||||
| * | Make RegEx VM restartable and fix iterator infinite loop | Feoramund | 2025-05-24 | 1 | -2/+3 |
| | | |||||
| * | Optimize regex match iterator. | Jeroen van Rijn | 2025-04-07 | 1 | -2/+1 |
| | | | | | Reuse virtual machine and capture groups between matches. | ||||
| * | Return loop index in regex iterator. | Jeroen van Rijn | 2025-04-06 | 1 | -4/+3 |
| | | |||||
| * | {.Glboal} implicit in regex allocator. | Jeroen van Rijn | 2025-04-06 | 1 | -1/+1 |
| | | |||||
| * | Keep -vet happy. | Jeroen van Rijn | 2025-04-06 | 1 | -1/+1 |
| | | |||||
| * | Add iterator for `core:text/regex`. | Jeroen van Rijn | 2025-04-06 | 1 | -0/+57 |
| | | | | | | | | | | | | | | | | Usage: ```odin haystack := `xxfoobarxfoobarxx` pattern := `f(o)ob(ar)` it := regex.create_iterator(haystack, pattern, {.Global}) or_return defer regex.destroy(it) for capture in regex.match(&it) { fmt.println(capture) } ``` | ||||
| * | Add test for regex preallocated captures. | Ycros | 2024-12-04 | 1 | -0/+37 |
| | | |||||
| * | Fix tests | gingerBill | 2024-08-21 | 1 | -2/+2 |
| | | |||||
| * | Remove debug line from test | Feoramund | 2024-08-05 | 1 | -1/+0 |
| | | |||||
| * | Add explicit test case for Capture `pos` | Feoramund | 2024-08-04 | 1 | -0/+25 |
| | | |||||
| * | Use `regex.destroy` for test captures | Feoramund | 2024-08-04 | 1 | -4/+1 |
| | | |||||
| * | Test that a RegEx Capture `pos` corresponds to its `groups` | Feoramund | 2024-08-04 | 1 | -0/+7 |
| | | |||||
| * | Remove printing facilities for `Regular_Expression` | Feoramund | 2024-07-24 | 1 | -22/+0 |
| | | | | | | | | | | The `original_pattern` introduced a tenuous dependency to the expression value as a whole, and after some consideration, I decided that it would be better for the developer to manage their own pattern strings. In the event you need to print the text representation of a pattern, it's usually better that you manage the memory of it as well. | ||||
| * | Allow configuring of `MAX_CAPTURE_GROUPS` for `n` > 10 | Feoramund | 2024-07-24 | 1 | -6/+64 |
| | | |||||
| * | Add test cases for unclosed classes and repetition | Feoramund | 2024-07-24 | 1 | -97/+66 |
| | | | | | Simplified error checking while I was at it, too. | ||||
| * | Add tests for `core:text/regex` | Feoramund | 2024-07-22 | 1 | -0/+1012 |
| | | |||||
| * | Separate the I18N calls for immutable strings and for pluraliseable strings. | Maurizio M. Gavioli | 2024-06-19 | 1 | -19/+21 |
| | | | | | Also update tests. | ||||
| * | Port `tests\core\text\match` | Jeroen van Rijn | 2024-06-02 | 1 | -98/+63 |
| | | |||||
| * | Port `testing\core\text\i18n` | Jeroen van Rijn | 2024-06-02 | 1 | -101/+66 |
| | | |||||
| * | Get tests passing again | Feoramund | 2024-06-02 | 1 | -4/+4 |
| | | | | | | | | `T` no longer has a writer assigned to it. `test_core_cbor.odin` has global state and is run with `odin test`, so I've set it to use only one thread. | ||||
| * | i18n: Add section merge + duplicate key detection to gettext. | Jeroen van Rijn | 2024-05-17 | 1 | -3/+12 |
| | | |||||
| * | Fix .mo contexts | Jeroen van Rijn | 2024-05-17 | 1 | -0/+14 |
| | | | | | | | | Fixes #3590 - `get("key")` - `get("context", "key")` | ||||
| * | Fix .mo parser: Number of plurals | Jeroen van Rijn | 2024-05-17 | 1 | -25/+59 |
| | | | | | | | Fixes #3591 Added plur.mo to tests | ||||
| * | tests/core: Bring the Makefile more in-sync with build.bat | Yawning Angel | 2024-02-24 | 1 | -2/+5 |
| | | |||||
| * | Keep `-vet` happy by removing `using` | gingerBill | 2023-07-31 | 1 | -7/+2 |
| | | |||||
| * | Remove `using` where easily possible | gingerBill | 2023-07-31 | 1 | -0/+1 |
| | | |||||
| * | folder name changed | skytrias | 2022-12-21 | 1 | -25/+25 |
| | | |||||
| * | fix styling issues and use switches in cases its necessary, add comments to ↵ | skytrias | 2022-12-20 | 1 | -3/+3 |
| | | | | | helpers | ||||
| * | add iter_index and update tests to use easier matcher setup | skytrias | 2022-12-20 | 1 | -50/+22 |
| | | |||||
| * | case insensitive helper call | skytrias | 2022-12-18 | 1 | -24/+28 |
| | | |||||
| * | add proper unicode walking | skytrias | 2022-12-18 | 1 | -42/+102 |
| | | |||||
| * | balanced string, frontier pattern, gsub_with and their tests added | skytrias | 2022-12-18 | 1 | -12/+47 |
| | | |||||
| * | create lua strlib text package and tests | skytrias | 2022-12-18 | 1 | -0/+325 |
| | | |||||
| * | [i18n] Add tests. | Jeroen van Rijn | 2022-04-29 | 1 | -0/+165 |