Skip to content

Commit

Permalink
Merge pull request #1056 from WolframResearch/bugfix/autocorrect-deep…
Browse files Browse the repository at this point in the history
…seek-wl-typo

Automatically correct a common typo by DeepSeek R1 in code strings
  • Loading branch information
rhennigan authored Jan 28, 2025
2 parents b851d3c + 885bfde commit b93be53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Chatbook/Sandbox.wl
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,8 @@ preprocessSandboxString[ s_String ] := sandboxStringNormalize[ s ] = StringRepla
"!["~~___~~"](" ~~ uri: (__ ~~ "://" ~~ key__) ~~ ")" /; expressionURIKeyQ @ key :>
"InlinedExpression[\"" <> uri <> "\"]",
"<!" ~~ uri: Except[ "!" ].. ~~ "!>" :>
"InlinedExpression[\"" <> uri <> "\"]"
"InlinedExpression[\"" <> uri <> "\"]",
"\n/"~~EndOfString :> ""
}
];

Expand Down

0 comments on commit b93be53

Please sign in to comment.