<commit_before># HashQuery

Query a nested hash using glob expressions.

```ruby
hash = {
  'development' => {
    'user'     => 'wadus',
    'password' => '<PASSWORD>',
    'database' => {
      'adapter'     => 'sqlite',
      'db_user'     => 'scott',
      'db_password' => '<PASSWORD>'
    }
  },
  'production' => {
    'user'     => 'admin',
    'password' => '<PASSWORD>',
    'database' => {
      'adapter'     => 'postgresql',
      'db_user'     => 'scott',
      'db_password' => '<PASSWORD>'
    }
  }
}

hash.extend HashQuery

hash.query('*.database.db_*')

# => ["development.database.db_password", "development.database.db_user",
# "production.database.db_password", "production.database.db_user"]

hash.query('**.*password')

# => ["development.password", "development.database.db_password",
# "production.password", "production.database.db_password"]
```
<commit_msg>reformat usage example<commit_after># HashQuery

Query a nested hash using glob expressions.

```ruby
hash = {
  'development' => {
    'user'     => 'wadus',
    'password' => '<PASSWORD>',
    'database' => {
      'adapter'     => 'sqlite',
      'db_user'     => 'scott',
      'db_password' => '<PASSWORD>'
    }
  },
  'production' => {
    'user'     => 'admin',
    'password' => '<PASSWORD>',
    'database' => {
      'adapter'     => 'postgresql',
      'db_user'     => 'scott',
      'db_password' => '<PASSWORD>'
    }
  }
}

hash.extend HashQuery


hash.query('production.database.adapter')
# => ['production.database.adapter']


hash.query('*.database.db_*')
# => ["development.database.db_password", "development.database.db_user",
# "production.database.db_password", "production.database.db_user"]


hash.query('**.*password')
# => ["development.password", "<PASSWORD>",
# "production.password", "<PASSWORD>"]
```

{'fraction_non_alphanumeric': 0.20890599230346343, 'fraction_numerical': 0.0, 'mean_word_length': 3.292452830188679, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 46, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4247027', 'n_tokens_mistral': 621, 'n_tokens_neox': 612, 'n_words': 98}