bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Collating Symbols and Equivalence Classes


From: kfs1
Subject: Collating Symbols and Equivalence Classes
Date: Thu, 01 Jun 2006 00:12:14 +0200
User-agent: Opera Mail/9.00 (Linux)


from the awk man page:

       Collating Symbols
A collating symbol is a multi-character collating element enclosed in [. and .]. For example, if ch is a col- lating element, then [[.ch.]] is a regular expression that matches this collating element, while [ch] is a reg-
              ular expression that matches either c or h.

       Equivalence Classes
An equivalence class is a locale-specific name for a list of characters that are equivalent. The name is enclosed in [= and =]. For example, the name e might be used to represent all of "e," "<B4>," and "`." In this case, [[=e=]] is a regular expression that matches any of e, <B4>^H<B4>, or `.

but this isn't explained in the grep man page nor the info grep page on the website: http://www.gnu.org/software/grep/doc/

I don't know if this is covered, just not on the webpage, because i don't have info installed(i am on archlinux which only allows
man pages)



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]