module Ronin::Support::Text::Patterns

@since 0.3.0

@since 0.3.0

@since 0.3.0

@since 0.3.0

@since 0.3.0

@since 0.3.0

@since 0.3.0

@since 0.3.0

@since 0.3.0

Constants

ABSOLUTE_PATH

Regular expression to find absolute Paths in text

@since 0.4.0

ABSOLUTE_UNIX_PATH

Regular expression to find absolute UNIX Paths in text

@since 0.4.0

ABSOLUTE_WINDOWS_PATH

Regular expression to find absolute Windows Paths in text

@since 0.4.0

AMEX_CC

Regular expression to find AMEX card numbers in text

@since 1.0.0

API_KEY

Regular expression for finding all API keys (md5, sha1, sha256, sha512, AWS access key ID or AWS secret access key).

@since 1.0.0

AWS_ACCESS_KEY_ID

Regular expression for finding all AWS access key IDs

@since 1.0.0

AWS_SECRET_ACCESS_KEY

Regular expression for finding all AWS secret access key

@since 1.0.0

BASE64

Regular expression to find all Base64 encoded strings in the text.

@since 1.0.0

BASH_COMMENT

Regular expression to match any single-line or multi-line Bash comments.

@since 1.0.0

CC

Regular expression to find Credit Card (CC) numbers in text

@since 1.0.0

COMMENT

Regular expression to match any single-line or multi-line comments.

@since 1.0.0

CPP_COMMENT

Regular expression to match any single-line or multi-line C++ comments.

@since 1.0.0

C_COMMENT

Regular expression to match any single-line or multi-line C comments.

@since 1.0.0

C_STYLE_COMMENT

Regular expression to match any single-line or multi-line C-style comments.

@since 1.0.0

DECIMAL_OCTET

Regular expression for finding a decimal octet (0 - 255)

@since 0.4.0

DELIM

Regular expression to find deliminators in text

@since 0.4.0

DIR_NAME

Regular expression to find Directory names in text

@since 1.0.0

DISCOVER_CC

Regular expression to find Discord card numbers in text

@since 1.0.0

DOMAIN

Regular expression used to find domain names in text

@since 1.0.0

DOUBLE_QUOTED_STRING

Regular expression to find all double quoted strings in text.

@since 1.0.0

DSA_PRIVATE_KEY

Regular expression for finding all DSA private keys in text.

@since 1.0.0

EC_PRIVATE_KEY

Regular expression for finding all EC private keys in text.

@since 1.0.0

EMAIL_ADDR

@see EMAIL_ADDRESS

EMAIL_ADDRESS

Regular expression to find email addresses in text

@since 1.0.0

FILE_EXT

Regular expression to find File extensions in text

@since 0.4.0

FILE_NAME

Regular expression to find file names in text

@since 0.4.0

FUNCTION_NAME

Regular expression to find all function names in text.

@see IDENTIFIER

@since 1.0.0

HASH

Regular expression for finding all hashes in text.

@since 1.0.0

HEX_NUMBER

Regular expression for finding all hexadecimal numbers in text.

@since 1.0.0

HOST_NAME

Regular expression used to find host-names in text

IDENTIFIER

Regular expression to find identifier in text

@since 0.4.0

IP

@see IP_ADDR

IPV4_ADDR

A regular expression for matching IPv4 Addresses.

@since 1.0.0

IPV6_ADDR

A regular expression for matching IPv6 Addresses.

@since 1.0.0

IP_ADDR

A regular expression for matching IP Addresses.

@since 1.0.0

JAVASCRIPT_COMMENT

Regular expression to match any single-line or multi-line JavaScript comments.

@since 1.0.0

JAVA_COMMENT

Regular expression to match any single-line or multi-line Java comments.

@since 1.0.0

MAC_ADDR

Regular expression for finding MAC addresses in text

@since 1.0.0

MASTERCARD_CC

Regular expression to find Masterdard numbers in text

@since 1.0.0

MD5

Regular expression for finding all MD5 hashes in text.

@since 1.0.0

NUMBER

Regular expression for finding all numbers in text.

@since 1.0.0

OBFUSCATED_EMAIL_ADDR

@see OBFUSCATED_EMAIL_ADDRESS

OBFUSCATED_EMAIL_ADDRESS

Regular expression to find obfuscated email addresses in text.

@since 1.0.0

OBFUSCATED_EMAIL_AT

Regular expression to match ‘.`, ` AT `, ` at `, `[AT]`, `[at]`, `<AT>`, `<at>`, `{AT}`, `{at}`, `(AT)`, `(at)`.

@since 1.0.0

OBFUSCATED_EMAIL_DOT

Regular expression to match ‘.`, ` DOT `, ` dot `, `[DOT]`, `[dot]`, `<DOT>`, `<dot>`, `{DOT}`, `{dot}`, `(DOT)`, `(dot)`.

@since 1.0.0

PATH

Regular expression to find Paths in text

@since 0.4.0

PHONE_NUMBER

Regular expression to find phone numbers in text

@since 0.5.0

PRIVATE_KEY

Regular expression for finding all private keys in text.

@since 1.0.0

PUBLIC_KEY

Regular expression for finding all public keys in text.

@since 1.0.0

PUBLIC_SUFFIX

Regular expression to match all domain public suffixes.

@note

This regex may be out of date since the [public suffix list] is
updated on a monthly basis, but should still match the majority of
valid TLDs.

[public suffix list]: publicsuffix.org/

@since 1.0.0

PYTHON_COMMENT

Regular expression to match any single-line or multi-line Python comments.

@since 1.0.0

RELATIVE_PATH

Regular expression to find local Paths in text

@since 0.4.0

RELATIVE_UNIX_PATH

Regular expression to find local UNIX Paths in text

@since 0.4.0

RELATIVE_WINDOWS_PATH

Regular expression to find local Windows Paths in text

@since 0.4.0

RSA_PRIVATE_KEY

Regular expression for finding all RSA private keys in text.

@since 1.0.0

RUBY_COMMENT

Regular expression to match any single-line or multi-line Ruby comments.

@since 1.0.0

SHA1

Regular expression for finding all SHA1 hashes in text.

@since 1.0.0

SHA256

Regular expression for finding all SHA256 hashes in text.

@since 1.0.0

SHA512

Regular expression for finding all SHA512 hashes in text.

@since 1.0.0

SHELL_COMMENT

Regular expression to match any single-line or multi-line shell script comments.

@since 1.0.0

SHELL_STYLE_COMMENT

Regular expression to match any single-line or multi-line shell-style comments.

@since 1.0.0

SINGLE_QUOTED_STRING

Regular expression to find all single quoted strings in text.

@since 1.0.0

SSH_PRIVATE_KEY

Regular expression for finding all SSH private keys in text.

@since 1.0.0

SSH_PUBLIC_KEY

Regular expression for finding all SSH public keys in text.

@since 1.0.0

SSN

Regular expression to find Social Security Numbers (SSNs) in text

@since 1.0.0

STRING

Regular expression to find all single or double quoted strings in text.

@since 1.0.0

UNIX_PATH

Regular expression to find UNIX Paths in text

@since 0.4.0

URI

Regular expression to match URIs in text

@since 1.0.0

URL

Regular expression to match URLs in text

@since 1.0.0

USER_NAME

Regular expression to match a word in the username of an email address

VARIABLE_ASSIGNMENT

Regular expression to find all variable assignments in text.

@see VARIABLE_NAME

@since 1.0.0

VARIABLE_NAME

Regular expression to find all variable names in text.

@see IDENTIFIER

@since 1.0.0

VERSION_NUMBER

Regular expression for finding version numbers in text.

@since 1.0.0

VISA_CC

Regular expression to find VISA numbers in text

@since 1.0.0

VISA_MASTERCARD_CC

Regular expression to find VISA Masterdard numbers in text

@since 1.0.0

WINDOWS_PATH

Regular expression to find Windows Paths in text

@since 0.4.0

WORD

Regular expression for finding words.

@since 0.5.0