Commit Graph
3 Commits
Author SHA1 Message Date
underscorediscovery 0b1a3cc3e5 feat: add string indexOf with startIndex parameter and update wrenStringFind signature
Add a new primitive `string_indexOf_with_startIndex` that accepts a second integer argument to specify the starting position for the search. Modify the existing `wrenStringFind` function to accept a `startIndex` parameter, updating its Boyer-Moore-Horspool algorithm to begin scanning from the given offset. Update the `string_contains` primitive to pass `0` as the start index. Register the new overloaded method as `indexOf(_,_)` on the string class and add test cases covering boundary conditions and out-of-range start indices.
2016-07-14 03:53:01 +00:00
Sven Bergström aa6f105a53 fix: correct broken link to ranges introduction in Range class docs
The previous link pointed to a non-existent ../range.html page. The corrected link now points to the proper anchor #ranges within the values documentation page, ensuring readers can access the friendly introduction as intended.
2016-05-21 02:54:41 +00:00
Sven Bergström 995fc241e6 docs: fix iterator protocol link to use relative path from core/ module docs 2016-05-21 02:51:47 +00:00