Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve parameter replacement in set_fn function
- Use regular expressions with word boundaries to replace parameter names in the source function. - Ensure robust replacement even in cases where parameter names are surrounded by characters other than spaces, like parentheses. - This resolves issues with functions that have parameters within expressions or parentheses.
- Loading branch information