-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item14237: New method expandStr() to replace expandValue()
expandStr() brings in support for ${Key.SubKey} macro format as a part of movement to get rid of %Foswiki::cfg global. Another form of the macro is ${Key}{SubKey}. expandStr() uses parametrized calling convention and supports expanding both free-form strings and keys defined by their names. Handling of undefs is similar to that in expandValue: i.e. undef could be replaced with a string (though expansStr can replace it with any user-defined value), or undef would be returned for the expansion, or an exception could be thrown.
- Loading branch information
Showing
3 changed files
with
266 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters