<commit_before># /etc/sshd/sshd_config

map
  grammar sshd
  include '/etc/ssh/sshd_config' '/system/config/sshd'
end

grammar sshd
  token EOL /[ \t]*\n/ = '\n'
  token SEP /[ \t]+(?!\n)/ = ' '
  token COMMENT /(#.*|[ \t]*)\n/ = '\n'

  start: (comment | accept_env | allow_groups | allow_users 
          | deny_groups | macs | match | other_entry ) *

  comment: [ COMMENT ]

  other_entry: [ key ... . SEP . store ... . EOL ]

  accept_env: [ key 'AcceptEnv' .
              ([ SEP . seq 'accept_env' . store ...])* .
              EOL]

  allow_groups: [ key 'AllowGroups' .
              ([ SEP . seq 'allow_groups' . store ...])* .
              EOL]
  
  allow_users: [ key 'AllowUsers' .
              ([ SEP . seq 'allow_users' . store ...])* .
              EOL]
  
  deny_groups: [ key 'DenyGroups' .
              ([ SEP . seq 'deny_groups' . store ...])* .
              EOL]
  
  deny_users: [ key 'DenyUsers' .
              ([ SEP . seq 'deny_users' . store ...])* .
              EOL]

  macs: [ key 'MACs' . SEP .
           [ seq 'macs' . store ... ] .
           ([ seq 'macs' . ',' . store ...])* .
          EOL ]

  match: [ key 'Match' .
           [ seq 'match' .
             [ label 'cond' . store ... . EOL ] .
             (other_entry) * ] ]

end<commit_msg>Remove leading whitespace inside Match directives<commit_after># /etc/sshd/sshd_config

map
  grammar sshd
  include '/etc/ssh/sshd_config' '/system/config/sshd'
end

grammar sshd
  token EOL /[ \t]*\n/ = '\n'
  token SEP /[ \t]+(?!\n)/ = ' '
  token COMMENT /(#.*|[ \t]*)\n/ = '\n'

  start: (comment | accept_env | allow_groups | allow_users 
          | deny_groups | macs | match | other_entry ) *

  comment: [ COMMENT ]

  other_entry: [ key ... . SEP . store ... . EOL ]

  accept_env: [ key 'AcceptEnv' .
              ([ SEP . seq 'accept_env' . store ...])* .
              EOL]

  allow_groups: [ key 'AllowGroups' .
              ([ SEP . seq 'allow_groups' . store ...])* .
              EOL]
  
  allow_users: [ key 'AllowUsers' .
              ([ SEP . seq 'allow_users' . store ...])* .
              EOL]
  
  deny_groups: [ key 'DenyGroups' .
              ([ SEP . seq 'deny_groups' . store ...])* .
              EOL]
  
  deny_users: [ key 'DenyUsers' .
              ([ SEP . seq 'deny_users' . store ...])* .
              EOL]

  macs: [ key 'MACs' . SEP .
           [ seq 'macs' . store ... ] .
           ([ seq 'macs' . ',' . store ...])* .
          EOL ]

  match: [ key 'Match' .
           [ seq 'match' .
             [ label 'cond' . store ... . EOL ] .
             (SEP . other_entry) * ] ]

end
{'fraction_non_alphanumeric': 0.18053435114503816, 'fraction_numerical': 0.0, 'mean_word_length': 1.3805631244323342, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '451784', 'n_tokens_mistral': 977, 'n_tokens_neox': 933, 'n_words': 205}