From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <027f01c4384e$f518bc20$037a7d50@SOMA> From: "boyd, rounin" To: , "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> References: Subject: Re: [9fans] regexp not greedy enough Date: Wed, 12 May 2004 20:28:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Topicbox-Message-UUID: 77e5d844-eacd-11e9-9e20-41e7f4b1d025 > But the regexp stops at the first '\n'. > > Why? How do I get the whole region? usually this means that you need to explicitly stick a \n into the char class or () expression. using 's' is a bad idea. 'x' is much more powerful and more appropriate but takes a bit of a quantum leap to get to grips with it. did some linux driver hacking with sam this afternoon. that kernel is awful, but i think i have tamed it. sam, on the other hand, is a charm.