supporting negative lookahead and lookbehind regexps now
added some simple tests for the api_wrapper