Regex pack·Free
Code search patterns
20 patterns for searching code: TODOs, debug prints, hard-coded keys and tokens, function and class declarations, imports, empty catch blocks, Kotlin !!, strings, comments, merge conflict markers and lines over 120 characters. One removes trailing commas in JSON.
Free to install.
If PocketCode is installed on your Android device, this opens the page in the app.
Preview
3 of 20
(?-i)\b(?:TODO|FIXME|HACK|XXX|BUG)\b.*TODO, FIXME, HACK, XXX or BUG note (to the end of the line)
\b(?:console\.(?:log|debug|info|trace|dir)|System\.out\.print(?:ln)?|println|print|debugPrint|Log\.[vd]|Timber\.[vd])\s*Debug output call (console.log, println, print, Log.d)
(?i)\b(?:api[_-]?key|secret|token|passw(?:or)?d|auth[_-]?key|access[_-]?key)\w*["']?\s*[:=]\s*["'][^"'\s]{8,}["']Hard-coded secret (apiKey = "...", password: '...')
Changes in 1.0.0
First version.