Replace refinement method in favor of inline
Replace refinement method in favor of inline

Simplify the code as the `number?` method is used in one place only, and
the call to the regex has been extracted to a method.

Introduced in #6, discussed in #24.

tuxmea/lita-jenkins,miketheman/lita-jenkins,daniely/lita-jenkins