Regex have variants; though most have similarities to each other, the different engines also have noticeable differences. For instance, Ruby supports the \A and \z anchors, while JavaScript does not.
\w - matches an Unicode word character. That's any letter, uppercase or lowercase, numbers, and the underscore character. In "new-releases-204", \w would match each of the letters in "new" and ...