From df3a8f67193c8c6089a84ea6023c84c52b3d3205 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Sun, 3 May 2009 19:05:03 +1000 Subject: Minor fixes to function RST documentation --- lib/puppet/parser/functions/regsubst.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/puppet/parser') 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:: -- cgit