Gentoo Archives: gentoo-user

From: Christoph Gysin <cgysin@×××.ch>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] confusing RE doesn't work in diff
Date: Mon, 25 Jul 2005 10:11:52
Message-Id: 42E4B8F0.6030602@gmx.ch
In Reply to: [gentoo-user] [OT] confusing RE doesn't work in diff by Zhang Weiwu
1 Zhang Weiwu wrote:
2 > This works:
3 > zhangweiwu@Bach:/tmp$ egrep "\b*\/[*].*[*]\/\b*" Calendar.php
4 > /* $Id: class.boalarm.inc.php,v 1.1.1.1 2005/03/18 09:17:36
5 > dawnlinux Exp $ */
6 > /* $Id: class.boalarm.inc.php,v 1.11 2004/05/23 14:51:27
7 > ralfbecker Exp $ */
8 >
9 > This doesn't work:
10 > zhangweiwu@Bach:/tmp$ egrep "^\b*\/[*].*[*]\/\b*$" Calendar.php
11 >
12 > any hint?
13
14 ^ only matches at the beginning of a line. This isn't the case in your
15 examples.
16
17 Christoph
18 --
19 echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3
20 --
21 gentoo-user@g.o mailing list