issue(#51): making use of updated `mask` when building RegExp for "newline_char" option.