lamuguo / re2

Automatically exported from code.google.com/p/re2
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

documentation: filtered_re2 want case-insensitive matching #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add one of these regexes to a FilteredRE2: "[Rr]e[fF]", "REF",
2. Print the atoms returned by Compile
3. Notice they are all lower case
4. Read filtered_re2.h.

What is the expected output? What do you see instead?
Documenting that filtered_re2 returns lowercase, and that your string matching 
algorithm needs to do case-insensitive matching.

I can't find a mention of this in the documentation, or in code comments of 
filtered_re2.cc

What version of the product are you using? On what operating system?
7898bbcaf58f tip, Debian Linux 2.6.34 x86_64

Please provide any additional information below.
I think this is just a matter of documenting that the atoms need to be matched 
in a case insensitive manner.

Original issue reported on code.google.com by edwinto...@gmail.com on 30 Jun 2010 at 7:08

GoogleCodeExporter commented 9 years ago
This issue was closed by revision e171cf9b4a.

Original comment by rsc@swtch.com on 16 Jul 2010 at 1:51