forked from boostorg/regex
Compare commits
12 Commits
boost-1.66
...
pr/fix-uch
Author | SHA1 | Date | |
---|---|---|---|
799b09dc26 | |||
fe9d2a2d66 | |||
59d501b07b | |||
d5bf5966e2 | |||
912ba92bae | |||
cc5a4e85ae | |||
e6ce5523c6 | |||
c60ee3189d | |||
e62d8b5332 | |||
a3f1cf9dfc | |||
47be67134a | |||
00e802c671 |
@ -67,18 +67,14 @@ ostream& operator << (ostream& os, const std::wstring& s)
|
||||
|
||||
template <class S>
|
||||
class string_out_iterator
|
||||
#ifndef BOOST_NO_STD_ITERATOR
|
||||
: public std::iterator<std::output_iterator_tag, void, void, void, void>
|
||||
#endif // ndef BOOST_NO_STD_ITERATOR
|
||||
{
|
||||
#ifdef BOOST_NO_STD_ITERATOR
|
||||
public:
|
||||
typedef std::output_iterator_tag iterator_category;
|
||||
typedef void value_type;
|
||||
typedef void difference_type;
|
||||
typedef void pointer;
|
||||
typedef void reference;
|
||||
#endif // BOOST_NO_STD_ITERATOR
|
||||
|
||||
private:
|
||||
S* out;
|
||||
public:
|
||||
string_out_iterator(S& s) : out(&s) {}
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <boost/regex.hpp>
|
||||
#include <boost/regex/pending/unicode_iterator.hpp>
|
||||
#include <boost/mpl/int_fwd.hpp>
|
||||
#include <boost/static_assert.hpp>
|
||||
#include <bitset>
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
@ -334,6 +335,34 @@ inline u32regex do_make_u32regex(InputIterator i,
|
||||
#endif
|
||||
}
|
||||
|
||||
// BOOST_REGEX_UCHAR_IS_WCHAR_T
|
||||
//
|
||||
// Source inspection of unicode/umachine.h in ICU version 59 indicates that:
|
||||
//
|
||||
// On version 59, UChar is always char16_t in C++ mode (and uint16_t in C mode)
|
||||
//
|
||||
// On earlier versions, the logic is
|
||||
//
|
||||
// #if U_SIZEOF_WCHAR_T==2
|
||||
// typedef wchar_t OldUChar;
|
||||
// #elif defined(__CHAR16_TYPE__)
|
||||
// typedef __CHAR16_TYPE__ OldUChar;
|
||||
// #else
|
||||
// typedef uint16_t OldUChar;
|
||||
// #endif
|
||||
//
|
||||
// That is, UChar is wchar_t only on versions below 59, when U_SIZEOF_WCHAR_T==2
|
||||
//
|
||||
// Hence,
|
||||
|
||||
#define BOOST_REGEX_UCHAR_IS_WCHAR_T (U_ICU_VERSION_MAJOR_NUM < 59 && U_SIZEOF_WCHAR_T == 2)
|
||||
|
||||
#if BOOST_REGEX_UCHAR_IS_WCHAR_T
|
||||
BOOST_STATIC_ASSERT((boost::is_same<UChar, wchar_t>::value));
|
||||
#else
|
||||
BOOST_STATIC_ASSERT(!(boost::is_same<UChar, wchar_t>::value));
|
||||
#endif
|
||||
|
||||
//
|
||||
// Construction from an iterator pair:
|
||||
//
|
||||
@ -364,7 +393,7 @@ inline u32regex make_u32regex(const wchar_t* p, boost::regex_constants::syntax_o
|
||||
return BOOST_REGEX_DETAIL_NS::do_make_u32regex(p, p + std::wcslen(p), opt, static_cast<boost::mpl::int_<sizeof(wchar_t)> const*>(0));
|
||||
}
|
||||
#endif
|
||||
#if !defined(U_WCHAR_IS_UTF16) && (U_SIZEOF_WCHAR_T != 2)
|
||||
#if !BOOST_REGEX_UCHAR_IS_WCHAR_T
|
||||
inline u32regex make_u32regex(const UChar* p, boost::regex_constants::syntax_option_type opt = boost::regex_constants::perl)
|
||||
{
|
||||
return BOOST_REGEX_DETAIL_NS::do_make_u32regex(p, p + u_strlen(p), opt, static_cast<boost::mpl::int_<2> const*>(0));
|
||||
@ -481,7 +510,7 @@ inline bool u32regex_match(const UChar* p,
|
||||
{
|
||||
return BOOST_REGEX_DETAIL_NS::do_regex_match(p, p+u_strlen(p), m, e, flags, static_cast<mpl::int_<2> const*>(0));
|
||||
}
|
||||
#if !defined(U_WCHAR_IS_UTF16) && (U_SIZEOF_WCHAR_T != 2) && !defined(BOOST_NO_WREGEX)
|
||||
#if !BOOST_REGEX_UCHAR_IS_WCHAR_T && !defined(BOOST_NO_WREGEX)
|
||||
inline bool u32regex_match(const wchar_t* p,
|
||||
match_results<const wchar_t*>& m,
|
||||
const u32regex& e,
|
||||
@ -545,7 +574,7 @@ inline bool u32regex_match(const UChar* p,
|
||||
match_results<const UChar*> m;
|
||||
return BOOST_REGEX_DETAIL_NS::do_regex_match(p, p+u_strlen(p), m, e, flags, static_cast<mpl::int_<2> const*>(0));
|
||||
}
|
||||
#if !defined(U_WCHAR_IS_UTF16) && (U_SIZEOF_WCHAR_T != 2) && !defined(BOOST_NO_WREGEX)
|
||||
#if !BOOST_REGEX_UCHAR_IS_WCHAR_T && !defined(BOOST_NO_WREGEX)
|
||||
inline bool u32regex_match(const wchar_t* p,
|
||||
const u32regex& e,
|
||||
match_flag_type flags = match_default)
|
||||
@ -666,7 +695,7 @@ inline bool u32regex_search(const UChar* p,
|
||||
{
|
||||
return BOOST_REGEX_DETAIL_NS::do_regex_search(p, p+u_strlen(p), m, e, flags, p, static_cast<mpl::int_<2> const*>(0));
|
||||
}
|
||||
#if !defined(U_WCHAR_IS_UTF16) && (U_SIZEOF_WCHAR_T != 2) && !defined(BOOST_NO_WREGEX)
|
||||
#if !BOOST_REGEX_UCHAR_IS_WCHAR_T && !defined(BOOST_NO_WREGEX)
|
||||
inline bool u32regex_search(const wchar_t* p,
|
||||
match_results<const wchar_t*>& m,
|
||||
const u32regex& e,
|
||||
@ -727,7 +756,7 @@ inline bool u32regex_search(const UChar* p,
|
||||
match_results<const UChar*> m;
|
||||
return BOOST_REGEX_DETAIL_NS::do_regex_search(p, p+u_strlen(p), m, e, flags, p, static_cast<mpl::int_<2> const*>(0));
|
||||
}
|
||||
#if !defined(U_WCHAR_IS_UTF16) && (U_SIZEOF_WCHAR_T != 2) && !defined(BOOST_NO_WREGEX)
|
||||
#if !BOOST_REGEX_UCHAR_IS_WCHAR_T && !defined(BOOST_NO_WREGEX)
|
||||
inline bool u32regex_search(const wchar_t* p,
|
||||
const u32regex& e,
|
||||
match_flag_type flags = match_default)
|
||||
|
@ -183,7 +183,7 @@ void basic_regex_parser<charT, traits>::parse(const charT* p1, const charT* p2,
|
||||
// have had an unexpected ')' :
|
||||
if(!result)
|
||||
{
|
||||
fail(regex_constants::error_paren, ::boost::BOOST_REGEX_DETAIL_NS::distance(m_base, m_position), "Found a closing ) with no corresponding openening parenthesis.");
|
||||
fail(regex_constants::error_paren, ::boost::BOOST_REGEX_DETAIL_NS::distance(m_base, m_position), "Found a closing ) with no corresponding opening parenthesis.");
|
||||
return;
|
||||
}
|
||||
// if an error has been set then give up now:
|
||||
|
@ -195,9 +195,6 @@ public:
|
||||
};
|
||||
|
||||
class BOOST_REGEX_DECL mapfile_iterator
|
||||
#if !defined(BOOST_NO_STD_ITERATOR) || defined(BOOST_MSVC_STD_ITERATOR)
|
||||
: public std::iterator<std::random_access_iterator_tag, char>
|
||||
#endif
|
||||
{
|
||||
typedef mapfile::pointer internal_pointer;
|
||||
internal_pointer* node;
|
||||
|
@ -56,7 +56,9 @@ private:
|
||||
#endif
|
||||
public:
|
||||
typedef sub_match<BidiIterator> value_type;
|
||||
#if !defined(BOOST_NO_STD_ALLOCATOR) && !(defined(BOOST_MSVC) && defined(_STLPORT_VERSION))
|
||||
#ifndef BOOST_NO_CXX11_ALLOCATOR
|
||||
typedef typename std::allocator_traits<Allocator>::value_type const & const_reference;
|
||||
#elif !defined(BOOST_NO_STD_ALLOCATOR) && !(defined(BOOST_MSVC) && defined(_STLPORT_VERSION))
|
||||
typedef typename Allocator::const_reference const_reference;
|
||||
#else
|
||||
typedef const value_type& const_reference;
|
||||
@ -66,7 +68,11 @@ public:
|
||||
typedef const_iterator iterator;
|
||||
typedef typename BOOST_REGEX_DETAIL_NS::regex_iterator_traits<
|
||||
BidiIterator>::difference_type difference_type;
|
||||
#ifdef BOOST_NO_CXX11_ALLOCATOR
|
||||
typedef typename Allocator::size_type size_type;
|
||||
#else
|
||||
typedef typename std::allocator_traits<Allocator>::size_type size_type;
|
||||
#endif
|
||||
typedef Allocator allocator_type;
|
||||
typedef typename BOOST_REGEX_DETAIL_NS::regex_iterator_traits<
|
||||
BidiIterator>::value_type char_type;
|
||||
|
@ -800,9 +800,6 @@ void basic_regex_formatter<OutputIterator, Results, traits, ForwardIter>::put(co
|
||||
|
||||
template <class S>
|
||||
class string_out_iterator
|
||||
#ifndef BOOST_NO_STD_ITERATOR
|
||||
: public std::iterator<std::output_iterator_tag, typename S::value_type>
|
||||
#endif
|
||||
{
|
||||
S* out;
|
||||
public:
|
||||
@ -816,13 +813,11 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
#ifdef BOOST_NO_STD_ITERATOR
|
||||
typedef std::ptrdiff_t difference_type;
|
||||
typedef typename S::value_type value_type;
|
||||
typedef value_type* pointer;
|
||||
typedef value_type& reference;
|
||||
typedef std::output_iterator_tag iterator_category;
|
||||
#endif
|
||||
};
|
||||
|
||||
template <class OutputIterator, class Iterator, class Alloc, class ForwardIter, class traits>
|
||||
|
@ -85,14 +85,6 @@ template <class BidirectionalIterator,
|
||||
class charT = BOOST_DEDUCED_TYPENAME BOOST_REGEX_DETAIL_NS::regex_iterator_traits<BidirectionalIterator>::value_type,
|
||||
class traits = regex_traits<charT> >
|
||||
class regex_iterator
|
||||
#ifndef BOOST_NO_STD_ITERATOR
|
||||
: public std::iterator<
|
||||
std::forward_iterator_tag,
|
||||
match_results<BidirectionalIterator>,
|
||||
typename BOOST_REGEX_DETAIL_NS::regex_iterator_traits<BidirectionalIterator>::difference_type,
|
||||
const match_results<BidirectionalIterator>*,
|
||||
const match_results<BidirectionalIterator>& >
|
||||
#endif
|
||||
{
|
||||
private:
|
||||
typedef regex_iterator_implementation<BidirectionalIterator, charT, traits> impl;
|
||||
|
@ -167,14 +167,6 @@ template <class BidirectionalIterator,
|
||||
class charT = BOOST_DEDUCED_TYPENAME BOOST_REGEX_DETAIL_NS::regex_iterator_traits<BidirectionalIterator>::value_type,
|
||||
class traits = regex_traits<charT> >
|
||||
class regex_token_iterator
|
||||
#ifndef BOOST_NO_STD_ITERATOR
|
||||
: public std::iterator<
|
||||
std::forward_iterator_tag,
|
||||
sub_match<BidirectionalIterator>,
|
||||
typename BOOST_REGEX_DETAIL_NS::regex_iterator_traits<BidirectionalIterator>::difference_type,
|
||||
const sub_match<BidirectionalIterator>*,
|
||||
const sub_match<BidirectionalIterator>& >
|
||||
#endif
|
||||
{
|
||||
private:
|
||||
typedef regex_token_iterator_implementation<BidirectionalIterator, charT, traits> impl;
|
||||
|
@ -72,14 +72,6 @@ private:
|
||||
|
||||
template <class BidirectionalIterator>
|
||||
class u32regex_iterator
|
||||
#ifndef BOOST_NO_STD_ITERATOR
|
||||
: public std::iterator<
|
||||
std::forward_iterator_tag,
|
||||
match_results<BidirectionalIterator>,
|
||||
typename BOOST_REGEX_DETAIL_NS::regex_iterator_traits<BidirectionalIterator>::difference_type,
|
||||
const match_results<BidirectionalIterator>*,
|
||||
const match_results<BidirectionalIterator>& >
|
||||
#endif
|
||||
{
|
||||
private:
|
||||
typedef u32regex_iterator_implementation<BidirectionalIterator> impl;
|
||||
|
@ -155,14 +155,6 @@ private:
|
||||
|
||||
template <class BidirectionalIterator>
|
||||
class u32regex_token_iterator
|
||||
#ifndef BOOST_NO_STD_ITERATOR
|
||||
: public std::iterator<
|
||||
std::forward_iterator_tag,
|
||||
sub_match<BidirectionalIterator>,
|
||||
typename BOOST_REGEX_DETAIL_NS::regex_iterator_traits<BidirectionalIterator>::difference_type,
|
||||
const sub_match<BidirectionalIterator>*,
|
||||
const sub_match<BidirectionalIterator>& >
|
||||
#endif
|
||||
{
|
||||
private:
|
||||
typedef u32regex_token_iterator_implementation<BidirectionalIterator> impl;
|
||||
|
@ -481,7 +481,7 @@ icu_regex_traits::string_type icu_regex_traits::lookup_collatename(const char_ty
|
||||
bool icu_regex_traits::isctype(char_type c, char_class_type f) const
|
||||
{
|
||||
// check for standard catagories first:
|
||||
char_class_type m = char_class_type(1u << u_charType(c));
|
||||
char_class_type m = char_class_type(1uLL << u_charType(c));
|
||||
if((m & f) != 0)
|
||||
return true;
|
||||
// now check for special cases:
|
||||
|
@ -194,4 +194,5 @@ compile test_consolidated.cpp ;
|
||||
|
||||
build-project ../example ;
|
||||
|
||||
|
||||
# `quick` target (for CI)
|
||||
run quick.cpp ../build//boost_regex ;
|
||||
|
BIN
test/de_fuzz/corpus/001ba32e9488b739cad5c47cf6743092c3e959ba
Normal file
BIN
test/de_fuzz/corpus/001ba32e9488b739cad5c47cf6743092c3e959ba
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0022cb33f1cee7a46b962b9531184db5c56061df
Normal file
BIN
test/de_fuzz/corpus/0022cb33f1cee7a46b962b9531184db5c56061df
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0024c001b45a2ff3eb568d8a0c3e461aceb73417
Normal file
BIN
test/de_fuzz/corpus/0024c001b45a2ff3eb568d8a0c3e461aceb73417
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/008845a0cee378bad5ae87f276ce5f942febab66
Normal file
BIN
test/de_fuzz/corpus/008845a0cee378bad5ae87f276ce5f942febab66
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/009a13687872382d9ea4ccb32d90583fcdbd43b7
Normal file
BIN
test/de_fuzz/corpus/009a13687872382d9ea4ccb32d90583fcdbd43b7
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/00ebfa429dbb73ad5188bdb5956364b45e4b8c71
Normal file
BIN
test/de_fuzz/corpus/00ebfa429dbb73ad5188bdb5956364b45e4b8c71
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/00f8a813a4079f137f5a7ba9ad2d8d759afe8fa6
Normal file
BIN
test/de_fuzz/corpus/00f8a813a4079f137f5a7ba9ad2d8d759afe8fa6
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/01745b71bcf3c1f4763f1e0ac7b9ed8e55af4596
Normal file
BIN
test/de_fuzz/corpus/01745b71bcf3c1f4763f1e0ac7b9ed8e55af4596
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/01ba758580a918e8dd905999396066804be057d3
Normal file
BIN
test/de_fuzz/corpus/01ba758580a918e8dd905999396066804be057d3
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/01daae36295786b241b430e93bc27ecdb21d0e1c
Normal file
BIN
test/de_fuzz/corpus/01daae36295786b241b430e93bc27ecdb21d0e1c
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0214b13c2b40b2fe579aeaa2b803ebbfcd80effb
Normal file
BIN
test/de_fuzz/corpus/0214b13c2b40b2fe579aeaa2b803ebbfcd80effb
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0219a92fba5b22aad678f90c02fea5f718afbb81
Normal file
BIN
test/de_fuzz/corpus/0219a92fba5b22aad678f90c02fea5f718afbb81
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/024349a474519deb9e508901eaf34ef39792ff8c
Normal file
BIN
test/de_fuzz/corpus/024349a474519deb9e508901eaf34ef39792ff8c
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/024999955824849ef5de2856ee5e29a682bb0991
Normal file
BIN
test/de_fuzz/corpus/024999955824849ef5de2856ee5e29a682bb0991
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/025bb14c5c3d27a0908f0bb363dc4988918ff67b
Normal file
BIN
test/de_fuzz/corpus/025bb14c5c3d27a0908f0bb363dc4988918ff67b
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/02a5620461612a1944428314410762a948f95bb3
Normal file
BIN
test/de_fuzz/corpus/02a5620461612a1944428314410762a948f95bb3
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/02d8400da629642911de8704c15e20932f0d7d38
Normal file
BIN
test/de_fuzz/corpus/02d8400da629642911de8704c15e20932f0d7d38
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/02f33a351a3bbc21f6fb7f2f7fd980c730f32cb0
Normal file
BIN
test/de_fuzz/corpus/02f33a351a3bbc21f6fb7f2f7fd980c730f32cb0
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/02f406876967292fa39f061dd1ec2ff0e3c53e74
Normal file
BIN
test/de_fuzz/corpus/02f406876967292fa39f061dd1ec2ff0e3c53e74
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/031ca47c0959456d1f0dacd483cb3167dfb05aad
Normal file
BIN
test/de_fuzz/corpus/031ca47c0959456d1f0dacd483cb3167dfb05aad
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
Z(((((((a+)+)+)+)+)+)+)+|Y(((((((a+)+)+)+)+)+)+)+|X(((((((a+)+)+)+)+)+)+)+|W(((((((a+)+)+)+)+)+)+)+|V(((((((a+)+)+)+)+)+)+)+|CZ(((((((a+)+)+)+)+)+)+)+|CY(((((((a+)+)+)+)+)+)+;+|CX(((((((a+)+)+)+)+)+)+)+|CW(((((((a+)+)+)+)+)+)+)+|CV(((((((a+)+)+)+)+)+)+)+|(a+)+b)
|
BIN
test/de_fuzz/corpus/035e7ceca28af7af6a84062ab32fefa2c54b869f
Normal file
BIN
test/de_fuzz/corpus/035e7ceca28af7af6a84062ab32fefa2c54b869f
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0377c135f27099a908e16b2939f2576c76664cb6
Normal file
BIN
test/de_fuzz/corpus/0377c135f27099a908e16b2939f2576c76664cb6
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/03a4aada6edc5cfd457ffe100222aa70fb632303
Normal file
BIN
test/de_fuzz/corpus/03a4aada6edc5cfd457ffe100222aa70fb632303
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/03c11cdd4941456244521dbfdcc2c7e203cbf029
Normal file
BIN
test/de_fuzz/corpus/03c11cdd4941456244521dbfdcc2c7e203cbf029
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/03ce080ad97029cfc9eef7522183313f1ca6c2d3
Normal file
BIN
test/de_fuzz/corpus/03ce080ad97029cfc9eef7522183313f1ca6c2d3
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/045a1eefc4794466a95d88258d9ef04770d73185
Normal file
BIN
test/de_fuzz/corpus/045a1eefc4794466a95d88258d9ef04770d73185
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0493029275f5fd15bdbdeb0cecc75446e6129b5f
Normal file
BIN
test/de_fuzz/corpus/0493029275f5fd15bdbdeb0cecc75446e6129b5f
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/04a5b0fee5ba00981cfa30fb43699627807c5cbc
Normal file
BIN
test/de_fuzz/corpus/04a5b0fee5ba00981cfa30fb43699627807c5cbc
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/04aef19f0180da14df8d2bcc28635eed295c6af8
Normal file
BIN
test/de_fuzz/corpus/04aef19f0180da14df8d2bcc28635eed295c6af8
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/04c166cc1bf6fc1f396da3060e44e2651d37fa50
Normal file
BIN
test/de_fuzz/corpus/04c166cc1bf6fc1f396da3060e44e2651d37fa50
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/04ee7e168599133f68121b7560dc006209927d0e
Normal file
BIN
test/de_fuzz/corpus/04ee7e168599133f68121b7560dc006209927d0e
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/04fc8bac2ae97c2f41cf8ba47deae7d2269d9ef5
Normal file
BIN
test/de_fuzz/corpus/04fc8bac2ae97c2f41cf8ba47deae7d2269d9ef5
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/052e71789f1e90175615dfd24fe118b1a1158673
Normal file
BIN
test/de_fuzz/corpus/052e71789f1e90175615dfd24fe118b1a1158673
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0537a45a09b74990c25c0511657488fadefd84f6
Normal file
BIN
test/de_fuzz/corpus/0537a45a09b74990c25c0511657488fadefd84f6
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0548a644f332978b8d884616855535c6b8a503d9
Normal file
BIN
test/de_fuzz/corpus/0548a644f332978b8d884616855535c6b8a503d9
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/055958c72de0a99f046371f1f0c86d99990c0729
Normal file
BIN
test/de_fuzz/corpus/055958c72de0a99f046371f1f0c86d99990c0729
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/057bcec01e2afc4cae4d007ead424c189e2cebe3
Normal file
BIN
test/de_fuzz/corpus/057bcec01e2afc4cae4d007ead424c189e2cebe3
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/05cb2c374cbbf2e671db840189026b71a3a4783c
Normal file
BIN
test/de_fuzz/corpus/05cb2c374cbbf2e671db840189026b71a3a4783c
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/060d2fbcaf8334670802325e0dc9784379fb09a6
Normal file
BIN
test/de_fuzz/corpus/060d2fbcaf8334670802325e0dc9784379fb09a6
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/065dc7b9683107bb0fdeee1ad147ca33421b4eda
Normal file
BIN
test/de_fuzz/corpus/065dc7b9683107bb0fdeee1ad147ca33421b4eda
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/066a2cab0d331ac0605ded494bad5ce5c37f41be
Normal file
BIN
test/de_fuzz/corpus/066a2cab0d331ac0605ded494bad5ce5c37f41be
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/06705f7adc42a06bfa772929ad0cf82b511cc653
Normal file
BIN
test/de_fuzz/corpus/06705f7adc42a06bfa772929ad0cf82b511cc653
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0676b9e95ffea4d9be47eb4c08b53f7e8232ec61
Normal file
BIN
test/de_fuzz/corpus/0676b9e95ffea4d9be47eb4c08b53f7e8232ec61
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/06a24e5d1f0e7df307ebbb0b4008608ad03391b3
Normal file
BIN
test/de_fuzz/corpus/06a24e5d1f0e7df307ebbb0b4008608ad03391b3
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/06b7a2445e03005d105a6b760d80ca7a0ac495ee
Normal file
BIN
test/de_fuzz/corpus/06b7a2445e03005d105a6b760d80ca7a0ac495ee
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0708c60582050542ce192567ee739c8dbe486f13
Normal file
BIN
test/de_fuzz/corpus/0708c60582050542ce192567ee739c8dbe486f13
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/071134750dc8021e4baf15058fe2f9992a7ce222
Normal file
BIN
test/de_fuzz/corpus/071134750dc8021e4baf15058fe2f9992a7ce222
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
Z(((((((a+)+)+)+)+<2B><><EFBFBD><EFBFBD>)+|Y(((((((a+)+)+)+)+)++)+)|X(((((((a+)+)+)+)+)+)+)+|W((<28><>(((a+)+)+)+)+)+)+)+;|V((()++)+)+|CW(((((((a+)+)+)+((((a+)+)+)+)+)+)+)+|CZ(((((((a+)+)+)+)+)+)+)+|CY(((((((a+)+)+)+)+)+)+)+|CX(((((((a+)+)+)+)+)+)+)+|CW(((((((a+)+)+)+)+)+)+)+|CV,((((((a+)+)+)+)+)+)+)+|(a+)+bc
|
BIN
test/de_fuzz/corpus/073f4fc7f030f84f79bdc127e67339ae62070436
Normal file
BIN
test/de_fuzz/corpus/073f4fc7f030f84f79bdc127e67339ae62070436
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/075ed1f68bdaff705e9ecfd624a98c583ac5e04f
Normal file
BIN
test/de_fuzz/corpus/075ed1f68bdaff705e9ecfd624a98c583ac5e04f
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/076187a0bc2ed6e90aab84375d0deca711b61a91
Normal file
BIN
test/de_fuzz/corpus/076187a0bc2ed6e90aab84375d0deca711b61a91
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/077ce191a9e857d7a3a3b4e53fbb50a08000ecf0
Normal file
BIN
test/de_fuzz/corpus/077ce191a9e857d7a3a3b4e53fbb50a08000ecf0
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/07b2a1c92c817aae0a115bb15b33274cbaac308a
Normal file
BIN
test/de_fuzz/corpus/07b2a1c92c817aae0a115bb15b33274cbaac308a
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/07c70aa5c262fdd076e5ec1e59e63d9f8cedaea8
Normal file
BIN
test/de_fuzz/corpus/07c70aa5c262fdd076e5ec1e59e63d9f8cedaea8
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/07e5d0b2ec1cbc9040495889dde36395e3ce8a85
Normal file
BIN
test/de_fuzz/corpus/07e5d0b2ec1cbc9040495889dde36395e3ce8a85
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/07f38543e3f8cb6ab88d497b0264801e4a5ff751
Normal file
BIN
test/de_fuzz/corpus/07f38543e3f8cb6ab88d497b0264801e4a5ff751
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/08002fe03259270af10b36c8ddeacff162cf16b8
Normal file
BIN
test/de_fuzz/corpus/08002fe03259270af10b36c8ddeacff162cf16b8
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/081858d1769f43413a1f09fedf1a0cf1c3f72b22
Normal file
BIN
test/de_fuzz/corpus/081858d1769f43413a1f09fedf1a0cf1c3f72b22
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/082c2d2030263ff2b818ea7f0aaf98f7470283f6
Normal file
BIN
test/de_fuzz/corpus/082c2d2030263ff2b818ea7f0aaf98f7470283f6
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/08549ccfa0aa75f14ca42c08197ca1e87e660823
Normal file
BIN
test/de_fuzz/corpus/08549ccfa0aa75f14ca42c08197ca1e87e660823
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0868c65e2e25e7360ebcd1719625fb0a361abfaa
Normal file
BIN
test/de_fuzz/corpus/0868c65e2e25e7360ebcd1719625fb0a361abfaa
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/08691288da54da0cf22ea7d640ced09164743765
Normal file
BIN
test/de_fuzz/corpus/08691288da54da0cf22ea7d640ced09164743765
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/087425b8873de5a19c59ed5467aa5de9ba7de6ca
Normal file
BIN
test/de_fuzz/corpus/087425b8873de5a19c59ed5467aa5de9ba7de6ca
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/088d22d0e6de8af18ff45d377f04ff3658e0fc80
Normal file
BIN
test/de_fuzz/corpus/088d22d0e6de8af18ff45d377f04ff3658e0fc80
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/08940162707893743187e4ab470ed1008612797a
Normal file
BIN
test/de_fuzz/corpus/08940162707893743187e4ab470ed1008612797a
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/09180d4e440031e219479ca15da050462c00a908
Normal file
BIN
test/de_fuzz/corpus/09180d4e440031e219479ca15da050462c00a908
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/093d19b2925541ea312fa2059f264124a35944b7
Normal file
BIN
test/de_fuzz/corpus/093d19b2925541ea312fa2059f264124a35944b7
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/094d59eb83cc607c8c529c495210f83aa2887fbd
Normal file
BIN
test/de_fuzz/corpus/094d59eb83cc607c8c529c495210f83aa2887fbd
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0952b1e6ba0a9beaee02b92efa1990eb8fd855ed
Normal file
BIN
test/de_fuzz/corpus/0952b1e6ba0a9beaee02b92efa1990eb8fd855ed
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/09692b8dcf066440274ea5d939aec16eccb10de8
Normal file
BIN
test/de_fuzz/corpus/09692b8dcf066440274ea5d939aec16eccb10de8
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/098478e68695340652d4d2e9ed11fbbedad69e63
Normal file
BIN
test/de_fuzz/corpus/098478e68695340652d4d2e9ed11fbbedad69e63
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0985d13f526884e37b5074e8da192ba63f3ec18c
Normal file
BIN
test/de_fuzz/corpus/0985d13f526884e37b5074e8da192ba63f3ec18c
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/098b4f661d78550dbe871aa6d2e5474910365a92
Normal file
BIN
test/de_fuzz/corpus/098b4f661d78550dbe871aa6d2e5474910365a92
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0996713c1213c4a3e8a8581bf0fc5cb43f0d9c84
Normal file
BIN
test/de_fuzz/corpus/0996713c1213c4a3e8a8581bf0fc5cb43f0d9c84
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/09c39db7ced2e00411bd9bb69e27833c6aa2d47b
Normal file
BIN
test/de_fuzz/corpus/09c39db7ced2e00411bd9bb69e27833c6aa2d47b
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/09d1332a1130a84c97303b9c0f8f5c1d22ccd335
Normal file
BIN
test/de_fuzz/corpus/09d1332a1130a84c97303b9c0f8f5c1d22ccd335
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
8^\l*(?:((.<2E>*?)\W*(?1)\<5C>*\2[abc]| |((.)\)W*(?1)\W*\4|\ZZZZZZZZZZZZZZZZZZZZZZ<1B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\pd\)W*(?1)\W*\4|\ZZZZZZZZZZZZZZZZZZZZZZ<1B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><1B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\pd<1B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><1B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\pdquick brown )ox
|
BIN
test/de_fuzz/corpus/09f341b84c20552c905d21c138b184697fab337d
Normal file
BIN
test/de_fuzz/corpus/09f341b84c20552c905d21c138b184697fab337d
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0a04d9267fb8188a0920d5941c62dfcaa392b697
Normal file
BIN
test/de_fuzz/corpus/0a04d9267fb8188a0920d5941c62dfcaa392b697
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0a232c490b266ab32e15a6092c70ebc3dfda6ecc
Normal file
BIN
test/de_fuzz/corpus/0a232c490b266ab32e15a6092c70ebc3dfda6ecc
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0a34e1a8ea9da61a014714961b9818082c4f84be
Normal file
BIN
test/de_fuzz/corpus/0a34e1a8ea9da61a014714961b9818082c4f84be
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0a6ddeb7f27dec9f32913eed61df082aa928c8e7
Normal file
BIN
test/de_fuzz/corpus/0a6ddeb7f27dec9f32913eed61df082aa928c8e7
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0a6f08a511f7fbfe66ca6cf7f98bb5af2f7ef5b8
Normal file
BIN
test/de_fuzz/corpus/0a6f08a511f7fbfe66ca6cf7f98bb5af2f7ef5b8
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0a87a305f83262f88a9e826ca5aa22780faf0f6e
Normal file
BIN
test/de_fuzz/corpus/0a87a305f83262f88a9e826ca5aa22780faf0f6e
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0aae4febecef099e54707b7f8d59b50e70b1cd7c
Normal file
BIN
test/de_fuzz/corpus/0aae4febecef099e54707b7f8d59b50e70b1cd7c
Normal file
Binary file not shown.
BIN
test/de_fuzz/corpus/0ad25b2429db480add874a5d66e4934a53a4f5d8
Normal file
BIN
test/de_fuzz/corpus/0ad25b2429db480add874a5d66e4934a53a4f5d8
Normal file
Binary file not shown.
73
test/de_fuzz/corpus/0b7e65a2f97ea6135e0c46e75494a6dc0302192a
Normal file
73
test/de_fuzz/corpus/0b7e65a2f97ea6135e0c46e75494a6dc0302192a
Normal file
@ -0,0 +1,73 @@
|
||||
'<27> (?: [\040\t] | \(
|
||||
(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
|
||||
\) )* # optional leading comment
|
||||
(?: (?:
|
||||
[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
|
||||
(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
|
||||
|
|
||||
" (?: # opening quote...
|
||||
[^\\\x80-\xff\n\015"] # Anything except backslash and quote
|
||||
| # or
|
||||
\\ [^\x80-\xff] # Escaped something (something != CR)
|
||||
)* " # closing quote
|
||||
) # initial word
|
||||
(?: (?: [\040\t] | \(
|
||||
(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
|
||||
\) )* \. (?: [\040\t] | \(\x80-\xff]+ # some number of atom characters...
|
||||
(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
|
||||
|
|
||||
" (?: # opening quote...
|
||||
[^\\\x80-\xff\n\015"] # Anything except backslash and quote
|
||||
| # or
|
||||
\\ [^\x80-\xff] # Escaped something (something != CR)
|
||||
)* " # closing quote
|
||||
) # initial word
|
||||
(?: (?: [\040\t] | \(
|
||||
(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
|
||||
\) )* \. (?: [\040\t] | \(
|
||||
(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
|
||||
\) )* (?:
|
||||
[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
|
||||
(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
|
||||
|
|
||||
" (?: # opening quote...
|
||||
[^\\\x80-\xff\n\015"] # Anything except backslash and quote
|
||||
| # or
|
||||
\\ [^\x80-\xff] # Escaped something (something != CR)
|
||||
)* " # closing quote
|
||||
) )* # further okay, if led by a period
|
||||
(?: (\040\t] | \(
|
||||
(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
|
||||
\) )* @ (?: [\040\t] | \(
|
||||
(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
|
||||
\) )* (?:
|
||||
[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
|
||||
(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
|
||||
| \[ # [
|
||||
(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
|
||||
\] # ]
|
||||
) # initial subdomain
|
||||
(?: #
|
||||
(?: [\040\t] | \(
|
||||
(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
|
||||
\) )* \. # if led by a period...
|
||||
(?: [\040\t] | \(
|
||||
(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
|
||||
\) )* (?:
|
||||
[^(\04<30>)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters...
|
||||
(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom
|
||||
| \[ # [
|
||||
(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff
|
||||
\] # ]
|
||||
) # ...further okay
|
||||
)*
|
||||
# address spec
|
||||
(?: [\040\t] | \(
|
||||
(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] ^ | \\[\x80-\xff] )* \) )*
|
||||
\) )* > # trailing >
|
||||
# name and address
|
||||
) (?: [\040\t] | \(
|
||||
(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )*
|
||||
\) )* # optional trailing comment
|
||||
|
||||
<user@dom.ain>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user