<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Posteet: regex</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <item>
        <title>Supprimer une ligne sur deux dans un fichier texte [avec Textpad]</title>
        <link>http://www.posteet.com/view/1372</link>
        <description>
        <![CDATA[<pre>Expression POSIX pour supprimer les lignes paires :
Rechercher : ^(.*)\n.*
Remplacer par : \1

Expression POSIX pour supprimer les lignes impaires :
Rechercher : ^.*\n(.*)
Remplacer par : \1</pre> <a href="http://www.posteet.com/tags/ligne">[ligne]</a>  <a href="http://www.posteet.com/tags/regex">[regex]</a>  <a href="http://www.posteet.com/tags/suppression">[suppression]</a>  <a href="http://www.posteet.com/tags/texte">[texte]</a>  <a href="http://www.posteet.com/tags/textpad">[textpad]</a> ]]>        </description>
        <dc:creator>cyo</dc:creator>
        <pubDate>Wed, 26 Nov 2008 15:45:30 +0000</pubDate>

            <category>ligne</category>
            <category>regex</category>
            <category>suppression</category>
            <category>texte</category>
            <category>textpad</category>
    
    </item>

  
    <item>
        <title>marquage de fin de commentaire pout vi</title>
        <link>http://www.posteet.com/view/640</link>
        <description>
        <![CDATA[<pre>s/^\(# \([^{]*\){{{\(.*\)\)/\1\r\r\r# \/\2}}}\3/</pre> <a href="http://www.posteet.com/tags/regex">[regex]</a>  <a href="http://www.posteet.com/tags/vi">[vi]</a> ]]>        </description>
        <dc:creator>teke</dc:creator>
        <pubDate>Tue, 01 Jan 2008 13:11:06 +0000</pubDate>

            <category>regex</category>
            <category>vi</category>
    
    </item>

  
    <item>
        <title>A MAC address regex</title>
        <link>http://www.posteet.com/view/429</link>
        <description>
        <![CDATA[<pre># Works with dash &quot;-&quot; and colon &quot;:&quot; as a separator
# The “/i” modifier at the end makes it case-insensitive (Perl-like syntax)
/^([0-9A-F]{2}[:-]){5}[0-9A-F]{2}$/i

# General syntax (match lower and upper case)
^([0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2}$</pre> <a href="http://www.posteet.com/tags/mac">[mac]</a>  <a href="http://www.posteet.com/tags/regex">[regex]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Wed, 14 Nov 2007 12:38:13 +0000</pubDate>

            <category>mac</category>
            <category>regex</category>
    
    </item>

  
    <item>
        <title>Perl - Expression régulière pour tester la validité d'une adresse IP</title>
        <link>http://www.posteet.com/view/199</link>
        <description>
        <![CDATA[<pre>while($addr !~ /^([O1]?\d\d?|2[0-4]\d|25[0-5])\.([O1]?\d\d?|2[0-4]\d|25[0-5])\.([O1]?\d\d?|2[0-4]\d|25[0-5])\.([O1]?\d\d?|2[0-4]\d|25[0-5])$/){
		print &quot;Please give the IP address of the remote server:\n&quot;;
		$addr = get_answer();
	}</pre> <a href="http://www.posteet.com/tags/adresse ip">[adresse ip]</a>  <a href="http://www.posteet.com/tags/expression régulière">[expression régulière]</a>  <a href="http://www.posteet.com/tags/ip">[ip]</a>  <a href="http://www.posteet.com/tags/ip address">[ip address]</a>  <a href="http://www.posteet.com/tags/perl">[perl]</a>  <a href="http://www.posteet.com/tags/regex">[regex]</a>  <a href="http://www.posteet.com/tags/regular expression">[regular expression]</a> ]]>        </description>
        <dc:creator>henri</dc:creator>
        <pubDate>Mon, 05 Nov 2007 08:23:28 +0000</pubDate>

            <category>adresse ip</category>
            <category>expression régulière</category>
            <category>ip</category>
            <category>ip address</category>
            <category>perl</category>
            <category>regex</category>
            <category>regular expression</category>
    
    </item>


</channel>
</rss>
