aboutsummaryrefslogtreecommitdiff
path: root/core/text/regex/virtual_machine
Commit message (Collapse)AuthorAgeFilesLines
* Change Odin's LICENSE to zlib from BSD 3-clausegingerBill2025-10-282-2/+2
| | | | 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.
* Further overhaul of package line comments.Jeroen van Rijn2025-10-091-3/+2
|
* Fix multiline RegEx iterationFeoramund2025-05-263-43/+51
| | | | | | | | | | 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.
* Make RegEx VM restartable and fix iterator infinite loopFeoramund2025-05-241-3/+3
|
* Optimize regex match iterator.Jeroen van Rijn2025-04-071-1/+10
| | | | Reuse virtual machine and capture groups between matches.
* Add explicit license info to `core:text/regex`Feoramund2024-08-042-0/+16
|
* Use `unaligned_load` for `regex` virtual machineFeoramund2024-07-241-7/+8
| | | | | This should hopefully avoid any issues with loading operands greater than 8 bits on alignment-sensitive platforms.
* Use `slice.zero` insteadFeoramund2024-07-241-3/+2
|
* Add `core:text/regex`Feoramund2024-07-223-0/+886