taskWeeChat - Tasks: task #9497, Improve regex support for the...


task #9497: Improve regex support for the FILTER command

Submitter:  Štěpán Němec <stepnem>
Submitted:  Sat 20 Jun 2009 03:01:36 PM UTC
Votes:  20  
Category:  commands Should Start On:  Sat 20 Jun 2009 12:00:00 AM UTC
Should be Finished on:  Sat 20 Jun 2009 12:00:00 AM UTC Priority:  * 5 - Normal
Status:  Done Privacy:  Public
Percent Complete:  100% Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Planned Release:  0.3.7 IRC nick:  stepnem
* Mandatory Fields

Add a New Comment (Rich Markup)

Sun 05 Feb 2012 06:02:54 PM UTC, comment #2: 

Done, now extended POSIX regex is used.

Sebastien Helleu <flashcode>
Group administrator
Sun 28 Jun 2009 09:31:17 AM UTC, comment #1: 

I'd personally suggest going ERE instead of PCRE simply because ERE can be done natively with no extra dependencies than the usual ones for C code (libc, etc) wherease PCRE would require you to install your distribution's PCRE package that is not installed by default on Debian or ArchLinux or CentOS.

Sat 20 Jun 2009 03:01:36 PM UTC, original submission:  

The FILTER command only accepts POSIX BRE (basic regular expressions as in ed(1), which the POSIX manpage itself calls 'obsolete'), thus not providing much of the usual matching functionality (e.g. alternatives separated by '|' etc.). It would be better to switch to ERE (extended POSIX regexes) or PCRE instead.

Štěpán Němec <stepnem>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by jmantyla (Voted in favor of this item)
  • -email is unavailable- added by stepnem (Submitted the item)

    There are 20 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-26 flashcode Open/ClosedOpen Closed
    2012-02-05 flashcode StatusNone Done
        Percent Complete0% 100%
        Assigned toNone flashcode
        Planned ReleaseNone 0.3.7
    2010-02-23 jmantyla Carbon-Copy- Added jmantyla

    Back to the top

    Powered by Savane 3.11