Skip to content

Commit

Permalink
String.replace fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Glasmachers committed Dec 8, 2024
1 parent bbac785 commit 80eb86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lang/tscript-lib/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export const core = {
return {
type: this.program.types[Typeid.typeid_string],
value: {
b: object.value.b.replace(
b: object.value.b.replaceAll(
pattern.value.b,
replacement.value.b
),
Expand Down

0 comments on commit 80eb86d

Please sign in to comment.