View Single Post

  #3 (permalink)  
Old 07-31-2004
Sven Putze
 
Posts: n/a
Default Re: header checks are not case-insensitive

> From the sample header checks file:
>
> # The general format of a table entry is PATTERN RESULT.
> #
> # The pattern format is `/regexp/flags' or `!/regexp/flags' where regexp
> # is a regular expression as found in re_format(7), and flags are
> # i: toggle ignore case (REG_ICASE - default is to ignore case)
> # x: toggle extended expression (REG_EXTENDED - default is extended)
> # m: toggle multiline mode (REG_NEWLINE - default is non-multiline mode)
>
> Note that the default is ingnore case. The i toggles it to NOT ignore

case.

OK, not exactly RTFM, I just misunderstood that toggle thing (expected perl
behaviour).

Thanks anyway, I'll sleep much better now :-)

--
with kind regards

Sven Putze
http://my-bluetooth.de
-------------------------------------------------------------------
If liberty means anything at all, it means the right to tell people
what they do not want to hear. (George Orwell)
Who controls the past controls the future. Who controls the present
controls the past. (George Orwell)
-------------------------------------------------------------------


Reply With Quote