Skip to content

Instantly share code, notes, and snippets.

@ptrxyz
Created April 4, 2022 10:06
Show Gist options
  • Save ptrxyz/2f12d89064bbcb35bd8c9199ec0dc820 to your computer and use it in GitHub Desktop.
Save ptrxyz/2f12d89064bbcb35bd8c9199ec0dc820 to your computer and use it in GitHub Desktop.
user_props.yml
production:
:name_abbreviation:
:reserved_list:
- 'CRR'
- 'CRS'
- 'CRD'
:length_group: [2, 5]
:length_device: [2, 6]
:length_default: [2, 8]
:format_abbr: !ruby/regexp '/\A[a-zA-Z][a-zA-Z0-9\-_]*[a-zA-Z0-9]\Z/'
:format_abbr_err_msg: can be alphanumeric, middle '_' and '-' are allowed, but leading digit, or trailing '-' and '_' are not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment