From: Reuben Thomas Date: Mon, 18 Feb 2008 18:28:51 +0000 (+0000) Subject: Warn about regex use X-Git-Tag: FILE5_05~467 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15abf87f6bab5498ccd113cb1b1c53da923d014c;p=file Warn about regex use --- diff --git a/doc/magic.man b/doc/magic.man index 95b10a34..da23d013 100644 --- a/doc/magic.man +++ b/doc/magic.man @@ -1,4 +1,4 @@ -.\" $File: magic.man,v 1.49 2008/02/18 18:09:00 rrt Exp $ +.\" $File: magic.man,v 1.50 2008/02/18 18:28:51 rrt Exp $ .Dd January 10, 2007 .Dt MAGIC __FSECTION__ .Os @@ -148,9 +148,10 @@ interpreted as a UNIX-style date, but interpreted as local time rather than UTC. .It Dv regex A regular expression match in extended POSIX regular expression syntax -(much like egrep). -The type specification can be optionally followed by /[c][s]. -The +(much like egrep). Regular expressions can easily take exponential +time to process; their use is discouraged. When used in production +environments, their performance should be carefully checked. The type +specification can be optionally followed by /[c][s]. The .Dq c flag makes the match case insensitive, while the .Dq s @@ -474,4 +475,4 @@ a system on which the lengths are invariant. .\" the changes I posted to the S5R2 version. .\" .\" Modified for Ian Darwin's version of the file command. -.\" @(#)$Id: magic.man,v 1.49 2008/02/18 18:09:00 rrt Exp $ +.\" @(#)$Id: magic.man,v 1.50 2008/02/18 18:28:51 rrt Exp $