Module: LibPath::Constants::Unix::LibPath_Constants_Unix_Methods::InvalidCharacters::Shell

Defined in:
lib/libpath/constants/unix.rb

Overview

Invalid shell characters

Constant Summary collapse

LIST =

The list of characters

[

  '*',
  '<',
  '>',
  '?',
  '|',
]
RE =

The regular expression

/[#{LIST.map { |m| Regexp.escape m }.join}]/