Test, validate and match regular expressions
This regex matches Portuguese text by distinguishing ignored stopwords (such as 'um', 'uma', 'e', 'o', 'são', 'como', etc.) from accepted words containing accented characters. It is useful for tokenizing or filtering Portuguese content, skipping common function words while retaining meaningful terms. The pattern uses named groups to separate the two categories and operates globally.