This is my code statement
var myStr = require('ssh2')
and my elisp regex must return the arg value iff the statement has a require func invocation.
(let ((s "var myStr = require('ssh2')"))
(if (string-match "'require(\\([^']+\\)'" s)
(match-string 1 s)))
this returns nil, however? what makes my regex a mess, someone?