diff find_and_replace.xml @ 6:8928e6d1e7ba draft

Uploaded
author bgruening
date Thu, 08 Jan 2015 09:07:31 -0500
parents 56e80527c482
children d64eace4f9f3
line wrap: on
line diff
--- a/find_and_replace.xml	Wed Jan 07 11:15:41 2015 -0500
+++ b/find_and_replace.xml	Thu Jan 08 09:07:31 2015 -0500
@@ -28,14 +28,14 @@
                 </valid>
             </sanitizer>
         </param>
-        <param name="replace_pattern" type="text" size="20" label="Replace with" help="Use simple text, or $&amp; (dollar-ampersand) and $1 $2 $3 to refer to matched text. See examples below." >
+        <param name="replace_pattern" type="text" size="20" label="Replace with"
+            help="Use simple text, or $&amp; (dollar-ampersand) and $1 $2 $3 to refer to matched text. See examples below." >
             <sanitizer>
                 <valid initial="string.printable">
                     <remove value="&apos;"/>
                 </valid>
             </sanitizer>
         </param>
-
         <param name="is_regex" type="boolean" checked="false" truevalue="-r" falsevalue=""
             label="Find-Pattern is a regular expression" help="see help section for details." />
 
@@ -60,7 +60,7 @@
         </conditional>
     </inputs>
     <outputs>
-        <data format="input" name="outfile" metadata_source="infile" />
+        <data format_source="infile" name="outfile" metadata_source="infile" />
     </outputs>
     <tests>
         <test>
@@ -116,7 +116,7 @@
 **Examples of Replace Patterns**
 
 - **WORLD**  The word 'WORLD' will be placed whereever the find pattern was found.
-- **FOO-$&-BAR**  Each time the find pattern is found, it will be surrounded with 'FOO-' at the begining and '-BAR' at the end. **$&amp;** (dollar-ampersand) represents the matched find pattern.
+- **FOO-$&-BAR**  Each time the find pattern is found, it will be surrounded with 'FOO-' at the begining and '-BAR' at the end. **$&** (dollar-ampersand) represents the matched find pattern.
 - **$1**   The text which matched the first parenthesis in the Find Pattern.