From mboxrd@z Thu Jan 1 00:00:00 1970 From: dexen deVries To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Date: Fri, 5 Oct 2012 14:44:17 +0200 Message-ID: <12158316.NY6jp8kkEc@coil> User-Agent: KMail/4.9.2 (Linux/3.6.0-l46; KDE/4.9.2; x86_64; ; ) In-Reply-To: <16bd8e79d5711d8f2f25bfa541305f61@brasstown.quanstro.net> References: <1492275.224dsYbtlA@coil> <16bd8e79d5711d8f2f25bfa541305f61@brasstown.quanstro.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [9fans] acme + plumber question Topicbox-Message-UUID: bc7c1004-ead7-11e9-9d60-3106f5b1d025 On Friday 05 of October 2012 07:49:57 erik quanstrom wrote: > does it not work to write a plumb rule that parses the whole line? = then > it would possible to double-click at the edges of the line to select = the > whole line. ok, got it working. the important bit is regcompnl() vs. regcomp(). simple problems are simple: $PLAN9/src/cmd/plumb $ 9 diff -c -n rules.c-orig rules.c X-rules.c:363 c rules.c:363 < r->regex =3D regcomp(r->qarg); --- = = =20 > r->regex =3D regcompnl(r->qarg); = = =20 thanks for the tip :D --=20 dexen deVries [[[=E2=86=93][=E2=86=92]]]