[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: [Bug 140631] Can't use RegExpr lookahead assertions at the beginning
From: Anders Lund <anders () alweb ! dk>
Date: 2007-01-27 11:44:00
Message-ID: 20070127114400.30484.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=140631
------- Additional Comments From anders alweb dk 2007-01-27 12:43 -------
On Saturday 27 January 2007, Anders Lund wrote:
> Could you try to use teh firstNonSpace attribute in your rule? In the
> definition, it is documented as follows:
>
> firstNonSpace: should this rule only match at first non-space char in line?
>
> So,
>
> <RegExp firstNonSpace="true" string="(?=\t)" ... />
Sorry, this is of course completely wrong. The attribute you need is 'column':
column: should this rule only match at given column in line (column == count
of chars in front)
<RegExp column="0" ... />
-anders
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic