| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | core:os -> core:os/old && core:os/os2 -> core:os | Jeroen van Rijn | 6 days | 5 | -12/+10 |
| | | |||||
| * | Remove all `core:os` imports from JS targets | Jeroen van Rijn | 6 days | 9 | -32/+77 |
| | | | | | Fix `local_tz_name` on FreeBSD. | ||||
| * | One more fix. | Jeroen van Rijn | 7 days | 1 | -1/+1 |
| | | |||||
| * | Update example | Jeroen van Rijn | 7 days | 1 | -11/+9 |
| | | |||||
| * | core:text/table -> core:os/os2 | Jeroen van Rijn | 7 days | 1 | -4/+4 |
| | | |||||
| * | core:text/regex -> core:os/os2 | Jeroen van Rijn | 7 days | 1 | -2/+2 |
| | | |||||
| * | core:text/i18n -> core:os/os2 | Jeroen van Rijn | 7 days | 3 | -38/+23 |
| | | |||||
| * | text/regex: Pass given allocator on in create_iterator | Fabian Erdmann | 13 days | 1 | -2/+2 |
| | | |||||
| * | Add `translate_by_grapheme: bool` field | gingerBill | 2025-12-16 | 1 | -4/+23 |
| | | |||||
| * | Merge pull request #5859 from odin-lang/bill/change-licensedev-2025-11 | gingerBill | 2025-11-04 | 15 | -15/+15 |
| |\ | | | | | Change Odin's LICENSE to zlib from BSD 3-clause | ||||
| | * | Change Odin's LICENSE to zlib from BSD 3-clause | gingerBill | 2025-10-28 | 15 | -15/+15 |
| | | | | | | | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form. | ||||
| * | | Add missing case for octal prefix | mtarik34b | 2025-11-03 | 1 | -1/+3 |
| |/ | |||||
| * | Further overhaul of package line comments. | Jeroen van Rijn | 2025-10-09 | 12 | -15/+16 |
| | | |||||
| * | Minor formatting changes | gingerBill | 2025-10-07 | 1 | -97/+68 |
| | | |||||
| * | Remove `@(require_results)` on `find_aux` | gingerBill | 2025-10-07 | 1 | -1/+0 |
| | | |||||
| * | Add `@(rodata)` and `@(require_results)` to `core:text/match` | gingerBill | 2025-10-07 | 1 | -25/+51 |
| | | |||||
| * | text/regex: Remove old docmentation and unneeded flag | Feoramund | 2025-06-20 | 1 | -4/+0 |
| | | | | | | `Unsupported_Flag` was used back when the iterator did not handle `.Multiline`. | ||||
| * | Fix multiline RegEx iteration | Feoramund | 2025-05-26 | 5 | -50/+59 |
| | | | | | | | | | | | 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. | ||||
| * | Merge pull request #5209 from Feoramund/regex-fixes | Jeroen van Rijn | 2025-05-24 | 4 | -20/+74 |
| |\ | | | | | Fix RegEx iterator, remove `.Global`, make patterns unanchored by default (breaking change) | ||||
| | * | Remove `Global` RegEx flag, default to unanchored patterns | Feoramund | 2025-05-24 | 3 | -12/+9 |
| | | | |||||
| | * | Make RegEx VM restartable and fix iterator infinite loop | Feoramund | 2025-05-24 | 2 | -8/+65 |
| | | | |||||
| * | | Typo fix | Jeroen van Rijn | 2025-05-23 | 1 | -1/+1 |
| | | | |||||
| * | | Allow text/scanner to scan 0h hex floats | Jeroen van Rijn | 2025-05-23 | 1 | -1/+3 |
| |/ | |||||
| * | Disallow .Multiline in iterator. | Jeroen van Rijn | 2025-04-07 | 1 | -0/+8 |
| | | |||||
| * | Remove now unused field. | Jeroen van Rijn | 2025-04-07 | 1 | -1/+0 |
| | | |||||
| * | Optimize regex match iterator. | Jeroen van Rijn | 2025-04-07 | 2 | -17/+50 |
| | | | | | Reuse virtual machine and capture groups between matches. | ||||
| * | Return loop index in regex iterator. | Jeroen van Rijn | 2025-04-06 | 1 | -2/+12 |
| | | |||||
| * | {.Glboal} implicit in regex allocator. | Jeroen van Rijn | 2025-04-06 | 1 | -0/+2 |
| | | |||||
| * | Add iterator for `core:text/regex`. | Jeroen van Rijn | 2025-04-06 | 1 | -5/+95 |
| | | | | | | | | | | | | | | | | 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) } ``` | ||||
| * | Fix captures not begin zeroed when haystack length is 0 | James Duran | 2025-01-15 | 1 | -6/+6 |
| | | |||||
| * | Allow captures in gfind and gmatch to be used in-loop | James Duran | 2025-01-15 | 1 | -2/+10 |
| | | |||||
| * | fix: regex's match_with_preallocated_capture returning num_groups | Ycros | 2024-12-04 | 1 | -0/+1 |
| | | |||||
| * | Update scanner.odin | Doeke Wartena | 2024-11-07 | 1 | -1/+1 |
| | | | | remove duplicated wording in comment | ||||
| * | core: improve package doc comments for the documentation generator | Laytan Laats | 2024-09-03 | 2 | -24/+14 |
| | | |||||
| * | Fix `-vet-tabs` issues | gingerBill | 2024-08-24 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #3962 from Feoramund/regex | gingerBill | 2024-08-21 | 16 | -0/+3834 |
| |\ | | | | | Add `core:text/regex` | ||||
| | * | Review manual `for` loops in `core:text/regex` | Feoramund | 2024-08-05 | 3 | -6/+8 |
| | | | |||||
| | * | Add explicit license info to `core:text/regex` | Feoramund | 2024-08-04 | 11 | -0/+88 |
| | | | |||||
| | * | Document rationale behind RegEx shorthand classes | Feoramund | 2024-08-04 | 1 | -0/+18 |
| | | | |||||
| | * | Add more documentation for `core:text/regex` API | Feoramund | 2024-08-04 | 1 | -0/+21 |
| | | | |||||
| | * | Remove unused code | Feoramund | 2024-08-04 | 1 | -2/+0 |
| | | | |||||
| | * | Move `Flag_To_Letter` to `core:text/regex/common` | Feoramund | 2024-08-04 | 2 | -11/+11 |
| | | | |||||
| | * | Hide `Regular_Expression` values | Feoramund | 2024-08-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | We don't directly support printing these. To prevent future issues being raised about the pattern being missing if someone tries to print one, hide everything. | ||||
| | * | Add missing features to `regex` package documentation | Feoramund | 2024-08-04 | 1 | -2/+6 |
| | | | |||||
| | * | Use `unaligned_store` in `regex` too | Feoramund | 2024-07-24 | 1 | -12/+15 |
| | | | |||||
| | * | Use `unaligned_load` for `regex` virtual machine | Feoramund | 2024-07-24 | 3 | -18/+21 |
| | | | | | | | | | | | This should hopefully avoid any issues with loading operands greater than 8 bits on alignment-sensitive platforms. | ||||
| | * | Remove printing facilities for `Regular_Expression` | Feoramund | 2024-07-24 | 1 | -2/+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 | -1/+1 |
| | | | |||||
| | * | Use `slice.zero` instead | Feoramund | 2024-07-24 | 1 | -3/+2 |
| | | | |||||
| | * | Fix handling of unclosed `regex` classes and repetitions | Feoramund | 2024-07-24 | 1 | -2/+2 |
| | | | |||||