Simplify adapter specification, do not use regex.

See discussion in https://github.com/gollum/gollum-lib/pull/115/files
@sunny @bartkamphorst better like this?