Changeset 41f0cf3


Ignore:
Timestamp:
Mar 14, 2011, 3:02:13 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
2cbe7c3
Parents:
7d969f3
git-author:
Anders Kaseorg <andersk@mit.edu> (03/14/11 13:09:00)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/14/11 15:02:13)
Message:
Add | to OWL_REGEX_QUOTECHARS

This fixes searching for |.  regex(7) lists the metacharacters
“^.[$()|*+?{\”, so we actually have all of them now.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    r010a951 r41f0cf3  
    203203#define OWL_ZEPHYR_NOSTRIP_DAEMON4      "daemon."
    204204
    205 #define OWL_REGEX_QUOTECHARS    "!+*.?[]^\\${}()"
     205#define OWL_REGEX_QUOTECHARS    "!+*.?[]^\\${}()|"
    206206#define OWL_REGEX_QUOTEWITH     "\\"
    207207
Note: See TracChangeset for help on using the changeset viewer.