I have implemented -regex and -iregex options for find(1):


They are meant to be compatible with those of GNU's and NetBSD's:

    -regex <pattern>:

        True if the whole path of the file matches <pattern> using
        basic regular expression.  To match a file named
        ``./foo/xyzzy'', you can use the regular expression
        ``.*/[xyz]*'' or ``.*/foo/.*'', but not ``xyzzy'' or

    -iregex <pattern>:

        Like -regex, but the match is case insensitive.

I'd like to commit it after reviews if there is no convincing
objection against it.  Any suggestion is welcome.


                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"We're only at home when we're on the run, on the wing, on the fly"

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to