Merge branch 'temp-upstream-rebrand' into main
Resolves merge conflicts: - install.sh, build.sh, .github/workflows/build.yml: Reverted to Dushnilin's versions to avoid installing SourceForge mirrors. - fe-app-tachyon: Resolved type, formatting and copyOutbound conflicts, keeping both Dushnilin's custom features and ushan0v's frontend performance optimizations. - backend: Kept Dushnilin's ucode refactorings, Telegram bot integration, and release repository URL (Dushnilin/tachyon) while merging updates.uc cache format v8 & persistent cache format v7. - tests: Merged tests from both branches, preserving ucode -L wrappers for local test execution.
This commit is contained in:
@@ -5,22 +5,6 @@ let as_string = common.as_string;
|
||||
|
||||
|
||||
|
||||
function str_last_index(value, needle) {
|
||||
value = as_string(value);
|
||||
needle = as_string(needle);
|
||||
let result = -1;
|
||||
let start = 0;
|
||||
|
||||
while (true) {
|
||||
let offset = index(substr(value, start), needle);
|
||||
if (offset < 0)
|
||||
return result;
|
||||
|
||||
result = start + offset;
|
||||
start = result + length(needle);
|
||||
}
|
||||
}
|
||||
|
||||
function decimal_text(value, strict) {
|
||||
value = as_string(value);
|
||||
if (value == "" || match(value, /^[0-9]+$/) == null)
|
||||
|
||||
Reference in New Issue
Block a user