[Chapel Merge] Replace most occurrences of regexp with regex, pre

Branch: refs/heads/master
Revision: 11a4d1f
Author: leekillough
Log Message:

Merge pull request #17276 from leekillough/regexp_to_regex

Replace most occurrences of regexp with regex, preserving case

This PR deprecates the Regexp module in favor of Regex.

It deprecates the regexp record type in favor of regex.

It deprecates the reMatch record type in favor of regexMatch.

It deprecates the BadRegexpError class type in favor of BadRegexError.

It adds the fullMatch() method for anchoring at the beginning and end.

It renames internal functions and types with regex instead of regexp, preserving case.

It does not change the CHPL_REGEXP variable, the REGEXP-associated Makefile variables, or the names of directories which contain regexp, because that would be too disruptive, and might affect builds on different platforms differently.

Fixes: #17224
Fixes: #17222
Fixes: #17216

Modified Files:
A modules/standard/Regex.chpl

A runtime/include/qio/qio_regex.h
A test/deprecated/RegexpModule.chpl
A test/deprecated/RegexpModule.good
A test/deprecated/RegexpModule.skipif
A test/regexp/killough/SKIPIF
A test/regexp/killough/fullMatch.chpl
A test/regexp/killough/fullMatch.good
R runtime/include/qio/qio_regexp.h
M doc/rst/meta/modules/standard.rst
M doc/rst/usingchapel/chplenv.rst
M modules/Makefile
M modules/internal/String.chpl
M modules/packages/RecordParser.chpl
M modules/packages/TOML.chpl
M modules/standard/IO.chpl
M modules/standard/Regexp.chpl
M runtime/include/qio/qio-all.h
M runtime/include/qio/qio_formatted.h
M runtime/src/qio/qio_formatted.c
M runtime/src/qio/regexp/none/fail-regexp.c
M runtime/src/qio/regexp/re2/re2-interface.cc
M test/compflags/ferguson/print-module-resolution.good
M test/deprecated/dotnl.chpl
M test/deprecated/dotnl.good
M test/deprecated/regexp_error.chpl
M test/deprecated/regexp_error.good
M test/modules/bradc/printModStuff/foo.good
M test/modules/sungeun/init/printModuleInitOrder.na-none.good
M test/patterns/cltools/grep/grep.chpl
M test/regexp/bytes/cast.chpl
M test/regexp/bytes/nonUTFIO.chpl
M test/regexp/compileFailLeak.chpl
M test/regexp/compileFailLeak.good
M test/regexp/elliot/I-fail-without-re2.chpl
M test/regexp/elliot/check-regexp-none-compiler-error.chpl
M test/regexp/elliot/check-regexp-none-compiler-error.good
M test/regexp/ferguson/ctests/regexp_channel_test.cc
M test/regexp/ferguson/ctests/regexp_test.cc
M test/regexp/ferguson/readfre.chpl
M test/regexp/ferguson/rechan.chpl
M test/regexp/ferguson/regex.chpl
M test/release/examples/benchmarks/shootout/regexdna-redux.chpl
M test/release/examples/benchmarks/shootout/regexdna.chpl
M test/studies/shootout/regex-dna/bharshbarg/regexdna.chpl
M test/studies/shootout/regexdna-redux/engin/regexredux.chpl
M test/studies/shootout/submitted/regexredux2.chpl
M test/studies/shootout/submitted/regexredux3.chpl
M test/types/cptr/ptr_cast_to_string.chpl
M test/users/npadmana/twopt/do_smu_aos.chpl
M tools/mason/MasonModify.chpl
M tools/mason/MasonSearch.chpl
M tools/mason/MasonSystem.chpl
M tools/mason/MasonUpdate.chpl
M tools/mason/MasonUtils.chpl
M tools/mason/SpecParser.chpl
M util/devel/chplspell-dictionary
M util/devel/chplspell-dictionary.fileids.json

Compare: https://github.com/chapel-lang/chapel/compare/8e67fc506093...11a4d1fccdcb