diff --git a/lib/lxc/container.rb b/lib/lxc/container.rb index 5be9a0e..a66991e 100644 --- a/lib/lxc/container.rb +++ b/lib/lxc/container.rb @@ -53,11 +53,11 @@ class Container # RegEx pattern for extracting the container state from the "lxc-info" # command output. - REGEX_STATE = /^state:\s+([\w]+)$/ + REGEX_STATE = /^state:\s+([\w]+)$/i # RegEx pattern for extracting the container PID from the "lxc-info" # command output. - REGEX_PID = /^pid:\s+([-\d]+)$/ + REGEX_PID = /^pid:\s+([-\d]+)$/i # Returns the container name #