Defined in 10 files as a prototype:
- external/bsd/less/dist/regexp.h, line 31 (as a prototype)
- external/bsd/nvi/dist/regex/regex.h, line 105 (as a prototype)
- external/gpl2/diffutils/dist/lib/posix/regex.h, line 541 (as a prototype)
- external/gpl2/gettext/dist/gettext-tools/libgrep/regex.h, line 533 (as a prototype)
- external/gpl2/grep/dist/lib/posix/regex.h, line 545 (as a prototype)
- external/gpl2/xcvs/dist/lib/regex.h, line 652 (as a prototype)
- external/gpl3/binutils.old/dist/include/xregex2.h, line 541 (as a prototype)
- external/gpl3/binutils/dist/include/xregex2.h, line 541 (as a prototype)
- include/regex.h, line 138 (as a prototype)
- include/regexp.h, line 104 (as a prototype)
Defined in 9 files as a macro:
Defined in 4 files as a function:
Referenced in 180 files:
- bin/ed/glbl.c, line 70
- bin/ed/main.c, line 932
- bin/ed/sub.c, 2 times
- bin/pax/pat_rep.c, line 944
- crypto/external/bsd/netpgp/dist/src/hkpclient/hkpc.c, line 125
- crypto/external/bsd/netpgp/dist/src/hkpd/hkpd.c, 4 times
- crypto/external/bsd/netpgp/dist/src/lib/keyring.c, line 1025
- crypto/external/bsd/netpgp/dist/src/lib/netpgp.c, 4 times
- crypto/external/bsd/netpgp/dist/src/libmj/mj.c, line 154
- crypto/external/bsd/netpgp/dist/src/libpaa/libpaa.c, 6 times
- crypto/external/bsd/netpgp/dist/src/netpgp/netpgp.c, line 500
- crypto/external/bsd/netpgp/dist/src/netpgpkeys/netpgpkeys.c, line 370
- external/apache2/llvm/dist/libcxx/utils/google-benchmark/cmake/gnu_posix_regex.cpp, line 10
- external/apache2/llvm/dist/libcxx/utils/google-benchmark/cmake/posix_regex.cpp, line 10
- external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/re.h, line 152
- external/apache2/llvm/dist/llvm/utils/benchmark/cmake/gnu_posix_regex.cpp, line 10
- external/apache2/llvm/dist/llvm/utils/benchmark/cmake/posix_regex.cpp, line 10
- external/apache2/llvm/dist/llvm/utils/benchmark/src/re.h, line 146
- external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/gtest-port.cc, 2 times
- external/bsd/am-utils/dist/amd/mapc.c, line 910
- external/bsd/atf/dist/atf-c++/detail/text.cpp, line 72
- external/bsd/atf/dist/atf-c/utils.c, line 64
- external/bsd/atf/dist/tools/text.cpp, line 67
- external/bsd/file/dist/src/funcs.c, line 746
- external/bsd/flex/dist/src/filter.c, 2 times
- external/bsd/kyua-cli/dist/engine/testers.cpp, line 164
- external/bsd/less/dist/pattern.c, 2 times
- external/bsd/libarchive/dist/tar/subst.c, line 241
- external/bsd/mdocml/dist/dbm_map.c, line 190
- external/bsd/mdocml/dist/test-rewb-bsd.c, 7 times
- external/bsd/mdocml/dist/test-rewb-sysv.c, 7 times
- external/bsd/ntp/dist/sntp/libopts/stack.c, line 93
- external/bsd/nvi/dist/common/search.c, 3 times
- external/bsd/nvi/dist/ex/ex_global.c, line 219
- external/bsd/nvi/dist/ex/ex_subst.c, line 560
- external/bsd/openldap/dist/contrib/slapd-modules/acl/gssacl.c, line 308
- external/bsd/openldap/dist/contrib/slapd-modules/ppm/ppm.c, 2 times
- external/bsd/openldap/dist/contrib/slapd-modules/variant/variant.c, line 270
- external/bsd/openldap/dist/libraries/librewrite/rule.c, line 435
- external/bsd/openldap/dist/servers/slapd/acl.c, 3 times
- external/bsd/openldap/dist/servers/slapd/aclparse.c, line 248
- external/bsd/openldap/dist/servers/slapd/back-asyncmeta/candidates.c, line 84
- external/bsd/openldap/dist/servers/slapd/back-asyncmeta/config.c, 3 times
- external/bsd/openldap/dist/servers/slapd/back-asyncmeta/search.c, line 433
- external/bsd/openldap/dist/servers/slapd/back-meta/candidates.c, line 83
- external/bsd/openldap/dist/servers/slapd/back-meta/config.c, 3 times
- external/bsd/openldap/dist/servers/slapd/back-meta/search.c, line 546
- external/bsd/openldap/dist/servers/slapd/back-sock/config.c, line 306
- external/bsd/openldap/dist/servers/slapd/limits.c, line 172
- external/bsd/openldap/dist/servers/slapd/overlays/constraint.c, 2 times
- external/bsd/openldap/dist/servers/slapd/overlays/homedir.c, line 1597
- external/bsd/openldap/dist/servers/slapd/saslauthz.c, line 1842
- external/bsd/tmux/dist/format.c, line 3803
- external/bsd/tmux/dist/regsub.c, line 79
- external/bsd/tmux/dist/window-copy.c, 2 times
- external/bsd/tmux/dist/window.c, line 1239
- external/bsd/tre/dist/include/tre/tre.h, line 27
- external/bsd/tre/dist/lib/tre.h, 2 times
- external/cddl/osnet/dist/lib/libnvpair/libnvpair.c, 2 times
- external/gpl2/diffutils/dist/lib/regex.c, 2 times
- external/gpl2/gettext/dist/gettext-tools/libgrep/dfa.c, line 1043
- external/gpl2/gettext/dist/gettext-tools/libgrep/regex.c, 2 times
- external/gpl2/grep/dist/lib/regex.c, 2 times
- external/gpl2/grep/dist/src/dfa.c, line 1064
- external/gpl2/xcvs/dist/lib/regexec.c, 4 times
- external/gpl2/xcvs/dist/lib/rpmatch.c, line 56
- external/gpl2/xcvs/dist/src/import.c, line 233
- external/gpl3/binutils.old/dist/gas/config/tc-mep.c, line 541
- external/gpl3/binutils.old/dist/libiberty/regex.c, 2 times
- external/gpl3/binutils.old/dist/opcodes/bpf-asm.c, line 530
- external/gpl3/binutils.old/dist/opcodes/epiphany-asm.c, line 805
- external/gpl3/binutils.old/dist/opcodes/fr30-asm.c, line 660
- external/gpl3/binutils.old/dist/opcodes/frv-asm.c, line 1613
- external/gpl3/binutils.old/dist/opcodes/ip2k-asm.c, line 861
- external/gpl3/binutils.old/dist/opcodes/iq2000-asm.c, line 809
- external/gpl3/binutils.old/dist/opcodes/lm32-asm.c, line 699
- external/gpl3/binutils.old/dist/opcodes/m32c-asm.c, line 1934
- external/gpl3/binutils.old/dist/opcodes/m32r-asm.c, line 678
- external/gpl3/binutils.old/dist/opcodes/mep-asm.c, line 1637
- external/gpl3/binutils.old/dist/opcodes/mt-asm.c, line 945
- external/gpl3/binutils.old/dist/opcodes/or1k-asm.c, line 929
- external/gpl3/binutils.old/dist/opcodes/xc16x-asm.c, line 726
- external/gpl3/binutils.old/dist/opcodes/xstormy16-asm.c, line 626
- external/gpl3/binutils/dist/gas/config/tc-mep.c, line 541
- external/gpl3/binutils/dist/gprofng/libcollector/linetrace.c, 2 times
- external/gpl3/binutils/dist/gprofng/src/DbeSession.cc, 4 times
- external/gpl3/binutils/dist/gprofng/src/Settings.cc, 2 times
- external/gpl3/binutils/dist/gprofng/src/gp-archive.cc, line 73
- external/gpl3/binutils/dist/libiberty/regex.c, 2 times
- external/gpl3/binutils/dist/opcodes/bpf-asm.c, line 530
- external/gpl3/binutils/dist/opcodes/epiphany-asm.c, line 805
- external/gpl3/binutils/dist/opcodes/fr30-asm.c, line 660
- external/gpl3/binutils/dist/opcodes/frv-asm.c, line 1613
- external/gpl3/binutils/dist/opcodes/ip2k-asm.c, line 861
- external/gpl3/binutils/dist/opcodes/iq2000-asm.c, line 809
- external/gpl3/binutils/dist/opcodes/lm32-asm.c, line 699
- external/gpl3/binutils/dist/opcodes/m32c-asm.c, line 1934
- external/gpl3/binutils/dist/opcodes/m32r-asm.c, line 678
- external/gpl3/binutils/dist/opcodes/mep-asm.c, line 1636
- external/gpl3/binutils/dist/opcodes/mt-asm.c, line 945
- external/gpl3/binutils/dist/opcodes/or1k-asm.c, line 925
- external/gpl3/binutils/dist/opcodes/xstormy16-asm.c, line 626
- external/gpl3/gcc.old/dist/gcc/config/nios2/nios2.c, 2 times
- external/gpl3/gcc.old/dist/gcc/file-prefix-map.c, line 252
- external/gpl3/gcc.old/dist/gcc/gcc.c, 2 times
- external/gpl3/gcc.old/dist/gcc/gengtype.c, line 2215
- external/gpl3/gcc.old/dist/gcc/tree-profile.c, 2 times
- external/gpl3/gcc.old/dist/libcc1/findcomp.cc, line 70
- external/gpl3/gcc.old/dist/libiberty/regex.c, 2 times
- external/gpl3/gcc/dist/gcc/config/nios2/nios2.c, 2 times
- external/gpl3/gcc/dist/gcc/file-prefix-map.c, line 252
- external/gpl3/gcc/dist/gcc/gcc.c, 2 times
- external/gpl3/gcc/dist/gcc/gengtype.c, line 2215
- external/gpl3/gcc/dist/gcc/tree-profile.c, 2 times
- external/gpl3/gcc/dist/libcc1/findcomp.cc, line 70
- external/gpl3/gcc/dist/libiberty/regex.c, 2 times
- external/gpl3/gdb.old/dist/gas/config/tc-mep.c, line 541
- external/gpl3/gdb.old/dist/gdb/gdb_regex.c, line 48
- external/gpl3/gdb.old/dist/gdb/ui-style.c, 2 times
- external/gpl3/gdb.old/dist/libiberty/regex.c, 2 times
- external/gpl3/gdb.old/dist/opcodes/bpf-asm.c, line 530
- external/gpl3/gdb.old/dist/opcodes/epiphany-asm.c, line 805
- external/gpl3/gdb.old/dist/opcodes/fr30-asm.c, line 660
- external/gpl3/gdb.old/dist/opcodes/frv-asm.c, line 1613
- external/gpl3/gdb.old/dist/opcodes/ip2k-asm.c, line 861
- external/gpl3/gdb.old/dist/opcodes/iq2000-asm.c, line 809
- external/gpl3/gdb.old/dist/opcodes/lm32-asm.c, line 699
- external/gpl3/gdb.old/dist/opcodes/m32c-asm.c, line 1934
- external/gpl3/gdb.old/dist/opcodes/m32r-asm.c, line 678
- external/gpl3/gdb.old/dist/opcodes/mep-asm.c, line 1636
- external/gpl3/gdb.old/dist/opcodes/mt-asm.c, line 945
- external/gpl3/gdb.old/dist/opcodes/or1k-asm.c, line 920
- external/gpl3/gdb.old/dist/opcodes/xc16x-asm.c, line 726
- external/gpl3/gdb.old/dist/opcodes/xstormy16-asm.c, line 626
- external/gpl3/gdb.old/dist/readline/readline/examples/hist_purgecmd.c, line 136
- external/gpl3/gdb/dist/gas/config/tc-mep.c, line 541
- external/gpl3/gdb/dist/gdb/gdb_regex.c, line 48
- external/gpl3/gdb/dist/gdb/ui-style.c, 2 times
- external/gpl3/gdb/dist/libiberty/regex.c, 2 times
- external/gpl3/gdb/dist/opcodes/bpf-asm.c, line 530
- external/gpl3/gdb/dist/opcodes/epiphany-asm.c, line 805
- external/gpl3/gdb/dist/opcodes/fr30-asm.c, line 660
- external/gpl3/gdb/dist/opcodes/frv-asm.c, line 1613
- external/gpl3/gdb/dist/opcodes/ip2k-asm.c, line 861
- external/gpl3/gdb/dist/opcodes/iq2000-asm.c, line 809
- external/gpl3/gdb/dist/opcodes/lm32-asm.c, line 699
- external/gpl3/gdb/dist/opcodes/m32c-asm.c, line 1934
- external/gpl3/gdb/dist/opcodes/m32r-asm.c, line 678
- external/gpl3/gdb/dist/opcodes/mep-asm.c, line 1636
- external/gpl3/gdb/dist/opcodes/mt-asm.c, line 945
- external/gpl3/gdb/dist/opcodes/or1k-asm.c, line 920
- external/gpl3/gdb/dist/opcodes/xc16x-asm.c, line 726
- external/gpl3/gdb/dist/opcodes/xstormy16-asm.c, line 626
- external/gpl3/gdb/dist/readline/readline/examples/hist_purgecmd.c, line 136
- external/ibm-public/postfix/dist/src/util/dict_regexp.c, line 212
- external/mpl/dhcp/dist/common/tree.c, line 835
- games/fortune/fortune/fortune.c, line 1236
- lib/libc/regex/regexec.c, line 71
- lib/libcompat/4.3/regex.c, line 88
- lib/libedit/search.c, 2 times
- lib/libform/type_regex.c, line 107
- sbin/mount_portal/conf.c, line 330
- sbin/sysctl/sysctl.c, line 424
- share/examples/refuse/dmesgfs/dmesgfs.c, line 279
- sys/external/bsd/drm2/dist/drm/radeon/mkregtable.c, line 244
- tests/lib/libc/regex/main.c, 2 times
- tests/lib/libc/regex/t_exhaust.c, line 233
- tests/lib/libc/regex/t_regex_att.c, line 525
- tests/rump/rumpkern/t_kern.c, line 95
- usr.bin/csplit/csplit.c, line 408
- usr.bin/grep/util.c, line 313
- usr.bin/m4/gnum4.c, 3 times
- usr.bin/mail/list.c, line 492
- usr.bin/make/var.c, line 1620
- usr.bin/nl/nl.c, line 327
- usr.bin/pkill/pkill.c, line 310
- usr.bin/rdist/docmd.c, line 645
- usr.bin/sed/process.c, 2 times
- usr.bin/xargs/xargs.c, line 638
- usr.sbin/user/user.c, 2 times