mongodb/mongo — pull request #215 by amcfague (2012-04-27 07:02:17+00:00)
Title: SERVER-5616 Any shell command containing the string ".auth" is not added to shell history

https://jira.mongodb.org/browse/SERVER-5616

In the case where items such as `db.author` are used, these would
normally be omitted--which isn't what's needed. Furthermore, items like
`db.auth ()` are also permitted, and should not be displayed. This
replaces the existing `strstr` check with a regular expression using
PCRE.