rane 05/09/11 21:23:49 Modified: xml/htdocs/doc/en/articles l-sed1.xml Log: fixed typo, thanks to keidii for reporting
Revision Changes Path 1.4 +2 -2 xml/htdocs/doc/en/articles/l-sed1.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/articles/l-sed1.xml?rev=1.4&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/articles/l-sed1.xml?rev=1.4&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/articles/l-sed1.xml.diff?r1=1.3&r2=1.4&cvsroot=gentoo Index: l-sed1.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-sed1.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- l-sed1.xml 10 Sep 2005 21:20:16 -0000 1.3 +++ l-sed1.xml 11 Sep 2005 21:23:49 -0000 1.4 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-sed1.xml,v 1.3 2005/09/10 21:20:16 rane Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-sed1.xml,v 1.4 2005/09/11 21:23:49 rane Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/articles/l-sed1.xml"> @@ -440,7 +440,7 @@ </p> <p> -OK, now on to the second regexp. '/^}' will match a '}' character that appears +OK, now on to the second regexp. '/^}/' will match a '}' character that appears at the beginning of a new line. If your code is formatted nicely, this will match the closing brace of your main() function. If it's not, it won't -- one of the tricky things about performing pattern matching. -- [email protected] mailing list
