Added easier (Perl-like) support for global-matching (/regex/g)
Minor changes in sidef scripts.