<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/bash/tags/regex</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 01:16:19 GMT</pubDate>
<item>
<title>(Bash) Bash pattern matching using extended globbing - symsec</title>
<link>http://snipplr.com/view/67845/bash-pattern-matching-using-extended-globbing/</link>
<description><![CDATA[ <p>Using a (faster) case structure to do bash built-in pattern matching. See [Bash hackers](http://wiki.bash-hackers.org/syntax/pattern) for more information. Thanks to [gnashley](http://www.linuxquestions.org/questions/programming-9/bash-search-for-a-pattern-within-a-string-variable-448022/#post4261310) for the snippet.</p> ]]></description>
<pubDate>Sat, 20 Oct 2012 20:07:08 GMT</pubDate>
<guid>http://snipplr.com/view/67845/bash-pattern-matching-using-extended-globbing/</guid>
</item>
<item>
<title>(Bash) Bash exscript to replace word occurrences - symsec</title>
<link>http://snipplr.com/view/67844/bash-exscript-to-replace-word-occurrences/</link>
<description><![CDATA[ <p>As portrayed by the example found in the [Advanced Bash Scripting guide](http://tldp.org/LDP/abs/html/here-docs.html) this demonstrates a few techniques</p> ]]></description>
<pubDate>Sat, 20 Oct 2012 17:51:43 GMT</pubDate>
<guid>http://snipplr.com/view/67844/bash-exscript-to-replace-word-occurrences/</guid>
</item>
<item>
<title>(Bash) Bash exscript to replace word occurrences - symsec</title>
<link>http://snipplr.com/view/67843/bash-exscript-to-replace-word-occurrences/</link>
<description><![CDATA[ <p>As portrayed by the example found in the [Advanced Bash Scripting guide](http://tldp.org/LDP/abs/html/here-docs.html) this demonstrates a few techniques</p> ]]></description>
<pubDate>Sat, 20 Oct 2012 17:51:06 GMT</pubDate>
<guid>http://snipplr.com/view/67843/bash-exscript-to-replace-word-occurrences/</guid>
</item>
<item>
<title>(Bash) Linux shell replace string - Risse</title>
<link>http://snipplr.com/view/51149/linux-shell-replace-string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 26 Mar 2011 06:52:40 GMT</pubDate>
<guid>http://snipplr.com/view/51149/linux-shell-replace-string/</guid>
</item>
<item>
<title>(Bash) UNIX regexp search down a directory tree - jarnaldich</title>
<link>http://snipplr.com/view/44246/unix-regexp-search-down-a-directory-tree/</link>
<description><![CDATA[ <p>Searches down the current directory every file whose name matches (case insensitively) {{file_pattern}} for the regexp {{text}}.</p> ]]></description>
<pubDate>Tue, 16 Nov 2010 18:28:37 GMT</pubDate>
<guid>http://snipplr.com/view/44246/unix-regexp-search-down-a-directory-tree/</guid>
</item>
<item>
<title>(Bash) vim search and replace - wdso</title>
<link>http://snipplr.com/view/26508/vim-search-and-replace/</link>
<description><![CDATA[ <p>Howto search and replace in vim when editing a file.</p> ]]></description>
<pubDate>Fri, 15 Jan 2010 10:30:16 GMT</pubDate>
<guid>http://snipplr.com/view/26508/vim-search-and-replace/</guid>
</item>
<item>
<title>(Bash) Line Number File And Copy To Clipboard - iloveitaly</title>
<link>http://snipplr.com/view/17330/line-number-file-and-copy-to-clipboard/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 22 Jul 2009 10:54:33 GMT</pubDate>
<guid>http://snipplr.com/view/17330/line-number-file-and-copy-to-clipboard/</guid>
</item>
<item>
<title>(Bash) Words with many doubled letters - zingo</title>
<link>http://snipplr.com/view/7056/words-with-many-doubled-letters/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 01 Jul 2008 19:28:07 GMT</pubDate>
<guid>http://snipplr.com/view/7056/words-with-many-doubled-letters/</guid>
</item>
<item>
<title>(Bash) grep for either of two strings - noah</title>
<link>http://snipplr.com/view/6819/grep-for-either-of-two-strings/</link>
<description><![CDATA[ <p>Here's an example of using grep to filter for links that contain the string 'jpg' or 'gif'</p> ]]></description>
<pubDate>Fri, 20 Jun 2008 15:29:33 GMT</pubDate>
<guid>http://snipplr.com/view/6819/grep-for-either-of-two-strings/</guid>
</item>
<item>
<title>(Bash) Perl Search and Replace One-liner with xargs -0 - ches</title>
<link>http://snipplr.com/view/5078/perl-search-and-replace-oneliner-with-xargs-0/</link>
<description><![CDATA[ <p>\Q...\E perl quoting means no ugly escaping in the regex. find's -print0 with xargs -0 is the secret to handling files with spaces in their names.</p> ]]></description>
<pubDate>Fri, 15 Feb 2008 14:02:45 GMT</pubDate>
<guid>http://snipplr.com/view/5078/perl-search-and-replace-oneliner-with-xargs-0/</guid>
</item>
<item>
<title>(Bash) Tail requests for HTML files - noah</title>
<link>http://snipplr.com/view/4069/tail-requests-for-html-files/</link>
<description><![CDATA[ <p>This command will tail an Apache access log, but only print lines where an HTML file was requested.</p> ]]></description>
<pubDate>Mon, 05 Nov 2007 12:40:54 GMT</pubDate>
<guid>http://snipplr.com/view/4069/tail-requests-for-html-files/</guid>
</item>
<item>
<title>(Bash) Rename Multiple Files in Bash Using Regular Expressions - tylerhall</title>
<link>http://snipplr.com/view/2736/rename-multiple-files-in-bash-using-regular-expressions/</link>
<description><![CDATA[ <p>This small, bash script will loop though the specified files and rename them according to a sed regular expression. In this example, I'm renaming a bunch of .avi movie files.</p> ]]></description>
<pubDate>Sat, 26 May 2007 07:28:35 GMT</pubDate>
<guid>http://snipplr.com/view/2736/rename-multiple-files-in-bash-using-regular-expressions/</guid>
</item>
<item>
<title>(Bash) Sed search &amp;amp; replace - fugue</title>
<link>http://snipplr.com/view/2616/sed-search--replace/</link>
<description><![CDATA[ <p>Search all SVG files for a certain line, then replace them. Make a backup first, or at least add a tag for sed to make the backups for you.</p> ]]></description>
<pubDate>Wed, 09 May 2007 06:30:58 GMT</pubDate>
<guid>http://snipplr.com/view/2616/sed-search--replace/</guid>
</item>
</channel>
</rss>