diff options
-rw-r--r-- | lib/puppet/parser/functions/regsubst.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/regsubst.rb b/lib/puppet/parser/functions/regsubst.rb index c79983351..2bd39200d 100644 --- a/lib/puppet/parser/functions/regsubst.rb +++ b/lib/puppet/parser/functions/regsubst.rb @@ -1,7 +1,9 @@ module Puppet::Parser::Functions newfunction(:regsubst, :type => :rvalue, :doc => " - Perform regexp replacement on a string. Parameters (in order): + Perform regexp replacement on a string. + +- **Parameters** (in order): :str: The string to operate on. @@ -23,7 +25,7 @@ module Puppet::Parser::Functions - **S** SJIS - **U** UTF-8 -**Examples** +- **Examples** Get the third octet from the node's IP address:: |