|
From: | anonymous |
Subject: | [bug #16421] regexp bug in grep -P or libpcre |
Date: | Sun, 23 Apr 2006 13:22:37 +0000 |
User-agent: | Opera/8.52 (X11; Linux i686; U; en) |
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16421> Summary: regexp bug in grep -P or libpcre Project: grep Submitted by: None Submitted on: Воскресенье 23.04.2006 at 13:22 UTC Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open _______________________________________________________ Details: grep with -P options incorrectly process inversed character classes: [^...] here is example: $ cat test a b $ grep '[a]' test a $ grep '[b]' test b $ grep '[^a]' test b $ grep '[^b]' test a $ grep -P '[a]' test a $ grep -P '[b]' test b $ grep -P '[^a]' test a b $ grep -P '[^b]' test a b I'm using: grep-2.5.1 libpcre-6.3 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16421> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |