Commits

Shlomi Fish committed 55b1796

Add parsing_using_regex to bad elements page.

Comments (0)

Files changed (2)

     - Bad elements page:
         - Packaging as a CPAN distribution.
         - Parsing XML/HTML/JSON/CSV/etc. using regular expressions.
+            @ DONE [Fri 2013-05-03]
         - Generating Invalid markup (HTML, etc.)
         - Generally - don't use punctuation variables.
         - Unrelated packages (e.g: OtherModule) inside MyModule.
     - XML Page:
         - mention XML::Twig, XML::Easy .
 
+COMPLETED TASKS:
+    - Bad elems: Parsing XML/HTML/JSON/CSV/etc. using regular expressions.
+        @ DONE [Fri 2013-05-03]
+
 # vim:ft=quicktask:sw=4:ts=4:et

src/tutorials/bad-elements/perl-elements-to-avoid.xml-grammar-vered.xml

 with the call to use within.
 </p>
 </item>
+<item xml:id="parsing_using_regex">
+<info>
+<title>Parsing XML/HTML/JSON/CSV/etc. using regular expression</title>
+</info>
+<p>
+You should not try to parse HTML, XML, JSON, CSV, and other complex grammars
+using regular expressions. Instead, use a CPAN module. For more information
+see <a xlink:href="../../uses/text-parsing">our page about Parsing in Perl</a>.
+</p>
+</item>
 </section>
 <section xml:id="sources_of_advice">
 <info>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.