Revision: 833
http://vcs.pcre.org/viewvc?view=rev&revision=833
Author: zherczeg
Date: 2011-12-28 08:38:29 +0000 (Wed, 28 Dec 2011)
Log Message:
-----------
JIT compiler copyright info updated and several tests added for testing horizontal/vertical spaces
Modified Paths:
--------------
code/branches/pcre16/pcre_printint.c
code/branches/pcre16/sljit/sljitConfig.h
code/branches/pcre16/sljit/sljitConfigInternal.h
code/branches/pcre16/sljit/sljitExecAllocator.c
code/branches/pcre16/sljit/sljitLir.c
code/branches/pcre16/sljit/sljitLir.h
code/branches/pcre16/sljit/sljitNativeARM_Thumb2.c
code/branches/pcre16/sljit/sljitNativeARM_v5.c
code/branches/pcre16/sljit/sljitNativeMIPS_32.c
code/branches/pcre16/sljit/sljitNativeMIPS_common.c
code/branches/pcre16/sljit/sljitNativePPC_32.c
code/branches/pcre16/sljit/sljitNativePPC_64.c
code/branches/pcre16/sljit/sljitNativePPC_common.c
code/branches/pcre16/sljit/sljitNativeX86_32.c
code/branches/pcre16/sljit/sljitNativeX86_64.c
code/branches/pcre16/sljit/sljitNativeX86_common.c
code/branches/pcre16/sljit/sljitUtils.c
code/branches/pcre16/testdata/testinput17
code/branches/pcre16/testdata/testinput18
code/branches/pcre16/testdata/testinput5
code/branches/pcre16/testdata/testoutput17
code/branches/pcre16/testdata/testoutput18
code/branches/pcre16/testdata/testoutput5
Modified: code/branches/pcre16/pcre_printint.c
===================================================================
--- code/branches/pcre16/pcre_printint.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/pcre_printint.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -630,11 +630,11 @@
}
else
{
- ccode += 1 + print_char(f, ccode, TRUE);
+ ccode += 1 + print_char(f, ccode, utf);
if (ch == XCL_RANGE)
{
fprintf(f, "-");
- ccode += 1 + print_char(f, ccode, TRUE);
+ ccode += 1 + print_char(f, ccode, utf);
}
}
}
Modified: code/branches/pcre16/sljit/sljitConfig.h
===================================================================
--- code/branches/pcre16/sljit/sljitConfig.h 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitConfig.h 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitConfigInternal.h
===================================================================
--- code/branches/pcre16/sljit/sljitConfigInternal.h 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitConfigInternal.h 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitExecAllocator.c
===================================================================
--- code/branches/pcre16/sljit/sljitExecAllocator.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitExecAllocator.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitLir.c
===================================================================
--- code/branches/pcre16/sljit/sljitLir.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitLir.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitLir.h
===================================================================
--- code/branches/pcre16/sljit/sljitLir.h 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitLir.h 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitNativeARM_Thumb2.c
===================================================================
--- code/branches/pcre16/sljit/sljitNativeARM_Thumb2.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitNativeARM_Thumb2.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitNativeARM_v5.c
===================================================================
--- code/branches/pcre16/sljit/sljitNativeARM_v5.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitNativeARM_v5.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitNativeMIPS_32.c
===================================================================
--- code/branches/pcre16/sljit/sljitNativeMIPS_32.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitNativeMIPS_32.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitNativeMIPS_common.c
===================================================================
--- code/branches/pcre16/sljit/sljitNativeMIPS_common.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitNativeMIPS_common.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitNativePPC_32.c
===================================================================
--- code/branches/pcre16/sljit/sljitNativePPC_32.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitNativePPC_32.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitNativePPC_64.c
===================================================================
--- code/branches/pcre16/sljit/sljitNativePPC_64.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitNativePPC_64.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitNativePPC_common.c
===================================================================
--- code/branches/pcre16/sljit/sljitNativePPC_common.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitNativePPC_common.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitNativeX86_32.c
===================================================================
--- code/branches/pcre16/sljit/sljitNativeX86_32.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitNativeX86_32.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitNativeX86_64.c
===================================================================
--- code/branches/pcre16/sljit/sljitNativeX86_64.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitNativeX86_64.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitNativeX86_common.c
===================================================================
--- code/branches/pcre16/sljit/sljitNativeX86_common.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitNativeX86_common.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/sljit/sljitUtils.c
===================================================================
--- code/branches/pcre16/sljit/sljitUtils.c 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/sljit/sljitUtils.c 2011-12-28 08:38:29 UTC (rev 833)
@@ -1,7 +1,7 @@
/*
* Stack-less Just-In-Time compiler
*
- * Copyright 2009-2010 Zoltan Herczeg (hzmester@???). All rights reserved.
+ * Copyright 2009-2012 Zoltan Herczeg (hzmester@???). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
Modified: code/branches/pcre16/testdata/testinput17
===================================================================
--- code/branches/pcre16/testdata/testinput17 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/testdata/testinput17 2011-12-28 08:38:29 UTC (rev 833)
@@ -215,12 +215,6 @@
<testdata/saved8
-/\h/SI
-
-/\v/SI
-
-/\R/SI
-
/[\h]/BZ
>\x09<
@@ -237,4 +231,47 @@
/[\x0a\V]/BZ
+/\h+/SI
+ \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
+ \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
+
+/[\h\x{dc00}]+/BZSI
+ \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
+ \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
+
+/\H+/SI
+ \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
+ \x{2000}\x{200a}\x{1fff}\x{200b}
+ \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
+ \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
+
+/[\H\x{d800}]+/BZSI
+ \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
+ \x{2000}\x{200a}\x{1fff}\x{200b}
+ \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
+ \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
+
+/\v+/SI
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
+
+/[\v\x{dc00}]+/BZSI
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
+
+/\V+/SI
+ \x{2028}\x{2029}\x{2027}\x{2030}
+ \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
+
+/[\V\x{d800}]+/BZSI
+ \x{2028}\x{2029}\x{2027}\x{2030}
+ \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
+
+/\R+/SI<bsr_unicode>
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
+
+/\x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}/I
+ \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
+
/-- End of testinput17 --/
Modified: code/branches/pcre16/testdata/testinput18
===================================================================
--- code/branches/pcre16/testdata/testinput18 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/testdata/testinput18 2011-12-28 08:38:29 UTC (rev 833)
@@ -158,6 +158,10 @@
\x{d800}\?
\x{da00}
\x{da00}\?
+ \x{dc00}
+ \x{dc00}\?
+ \x{de00}
+ \x{de00}\?
\x{dfff}
\x{dfff}\?
\x{110000}
Modified: code/branches/pcre16/testdata/testinput5
===================================================================
--- code/branches/pcre16/testdata/testinput5 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/testdata/testinput5 2011-12-28 08:38:29 UTC (rev 833)
@@ -655,4 +655,44 @@
/\x{dfff}/8
+/\h+/8
+ \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
+ \x{3001}\x{2fff}\x{200a}\x{a0}\x{2000}
+
+/[\h\x{e000}]+/8BZ
+ \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
+ \x{3001}\x{2fff}\x{200a}\x{a0}\x{2000}
+
+/\H+/8
+ \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
+ \x{2000}\x{200a}\x{1fff}\x{200b}
+ \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
+ \x{a0}\x{3000}\x{9f}\x{a1}\x{2fff}\x{3001}
+
+/[\H\x{d7ff}]+/8BZ
+ \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
+ \x{2000}\x{200a}\x{1fff}\x{200b}
+ \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
+ \x{a0}\x{3000}\x{9f}\x{a1}\x{2fff}\x{3001}
+
+/\v+/8
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
+
+/[\v\x{e000}]+/8BZ
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
+
+/\V+/8
+ \x{2028}\x{2029}\x{2027}\x{2030}
+ \x{85}\x0a\x0b\x0c\x0d\x09\x0e\x{84}\x{86}
+
+/[\V\x{d7ff}]+/8BZ
+ \x{2028}\x{2029}\x{2027}\x{2030}
+ \x{85}\x0a\x0b\x0c\x0d\x09\x0e\x{84}\x{86}
+
+/\R+/8<bsr_unicode>
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
+
/-- End of testinput5 --/
Modified: code/branches/pcre16/testdata/testoutput17
===================================================================
--- code/branches/pcre16/testdata/testoutput17 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/testdata/testoutput17 2011-12-28 08:38:29 UTC (rev 833)
@@ -246,30 +246,6 @@
Error -28 from pcre16_fullinfo(0)
Running in 16-bit mode but pattern was compiled in 8-bit mode
-/\h/SI
-Capturing subpattern count = 0
-No options
-No first char
-No need char
-Subject length lower bound = 1
-Starting byte set: \x09 \x20 \xa0 \xff
-
-/\v/SI
-Capturing subpattern count = 0
-No options
-No first char
-No need char
-Subject length lower bound = 1
-Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
-
-/\R/SI
-Capturing subpattern count = 0
-No options
-No first char
-No need char
-Subject length lower bound = 1
-Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
-
/[\h]/BZ
------------------------------------------------------------------
Bra
@@ -330,4 +306,152 @@
End
------------------------------------------------------------------
+/\h+/SI
+Capturing subpattern count = 0
+No options
+No first char
+No need char
+Subject length lower bound = 1
+Starting byte set: \x09 \x20 \xa0 \xff
+ \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
+ 0: \x{1680}\x{2000}\x{202f}\x{3000}
+ \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
+ 0: \x{200a}\xa0\x{2000}
+
+/[\h\x{dc00}]+/BZSI
+------------------------------------------------------------------
+ Bra
+ [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{dc00}]+
+ Ket
+ End
+------------------------------------------------------------------
+Capturing subpattern count = 0
+No options
+No first char
+No need char
+Subject length lower bound = 1
+No set of starting bytes
+ \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
+ 0: \x{1680}\x{2000}\x{202f}\x{3000}
+ \x{3001}\x{2fff}\x{200a}\xa0\x{2000}
+ 0: \x{200a}\xa0\x{2000}
+
+/\H+/SI
+Capturing subpattern count = 0
+No options
+No first char
+No need char
+Subject length lower bound = 1
+No set of starting bytes
+ \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
+ 0: \x{167f}\x{1681}\x{180d}\x{180f}
+ \x{2000}\x{200a}\x{1fff}\x{200b}
+ 0: \x{1fff}\x{200b}
+ \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
+ 0: \x{202e}\x{2030}\x{205e}\x{2060}
+ \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
+ 0: \x9f\xa1\x{2fff}\x{3001}
+
+/[\H\x{d800}]+/BZSI
+------------------------------------------------------------------
+ Bra
+ [\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff\x{100}-\x{167f}\x{1681}-\x{180d}\x{180f}-\x{1fff}\x{200b}-\x{202e}\x{2030}-\x{205e}\x{2060}-\x{2fff}\x{3001}-\x{ffff}\x{d800}]+
+ Ket
+ End
+------------------------------------------------------------------
+Capturing subpattern count = 0
+No options
+No first char
+No need char
+Subject length lower bound = 1
+No set of starting bytes
+ \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
+ 0: \x{167f}\x{1681}\x{180d}\x{180f}
+ \x{2000}\x{200a}\x{1fff}\x{200b}
+ 0: \x{1fff}\x{200b}
+ \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
+ 0: \x{202e}\x{2030}\x{205e}\x{2060}
+ \xa0\x{3000}\x9f\xa1\x{2fff}\x{3001}
+ 0: \x9f\xa1\x{2fff}\x{3001}
+
+/\v+/SI
+Capturing subpattern count = 0
+No options
+No first char
+No need char
+Subject length lower bound = 1
+Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ 0: \x{2028}\x{2029}
+ \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
+ 0: \x85\x0a\x0b\x0c\x0d
+
+/[\v\x{dc00}]+/BZSI
+------------------------------------------------------------------
+ Bra
+ [\x0a-\x0d\x85\x{2028}-\x{2029}\x{dc00}]+
+ Ket
+ End
+------------------------------------------------------------------
+Capturing subpattern count = 0
+No options
+No first char
+No need char
+Subject length lower bound = 1
+No set of starting bytes
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ 0: \x{2028}\x{2029}
+ \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
+ 0: \x85\x0a\x0b\x0c\x0d
+
+/\V+/SI
+Capturing subpattern count = 0
+No options
+No first char
+No need char
+Subject length lower bound = 1
+No set of starting bytes
+ \x{2028}\x{2029}\x{2027}\x{2030}
+ 0: \x{2027}\x{2030}
+ \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
+ 0: \x09\x0e\x84\x86
+
+/[\V\x{d800}]+/BZSI
+------------------------------------------------------------------
+ Bra
+ [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{ffff}\x{d800}]+
+ Ket
+ End
+------------------------------------------------------------------
+Capturing subpattern count = 0
+No options
+No first char
+No need char
+Subject length lower bound = 1
+No set of starting bytes
+ \x{2028}\x{2029}\x{2027}\x{2030}
+ 0: \x{2027}\x{2030}
+ \x85\x0a\x0b\x0c\x0d\x09\x0e\x84\x86
+ 0: \x09\x0e\x84\x86
+
+/\R+/SI<bsr_unicode>
+Capturing subpattern count = 0
+Options: bsr_unicode
+No first char
+No need char
+Subject length lower bound = 1
+Starting byte set: \x0a \x0b \x0c \x0d \x85 \xff
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ 0: \x{2028}\x{2029}
+ \x09\x0e\x84\x86\x85\x0a\x0b\x0c\x0d
+ 0: \x85\x0a\x0b\x0c\x0d
+
+/\x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}/I
+Capturing subpattern count = 0
+No options
+First char = \x{d800}
+Need char = \x{dd00}
+ \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
+ 0: \x{d800}\x{d7ff}\x{dc00}\x{dc00}\x{dcff}\x{dd00}
+
/-- End of testinput17 --/
Modified: code/branches/pcre16/testdata/testoutput18
===================================================================
--- code/branches/pcre16/testdata/testoutput18 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/testdata/testoutput18 2011-12-28 08:38:29 UTC (rev 833)
@@ -610,6 +610,14 @@
Error -10 (bad UTF-16 string) offset=0 reason=1
\x{da00}\?
No match
+ \x{dc00}
+Error -10 (bad UTF-16 string) offset=0 reason=3
+ \x{dc00}\?
+No match
+ \x{de00}
+Error -10 (bad UTF-16 string) offset=0 reason=3
+ \x{de00}\?
+No match
\x{dfff}
Error -10 (bad UTF-16 string) offset=0 reason=3
\x{dfff}\?
Modified: code/branches/pcre16/testdata/testoutput5
===================================================================
--- code/branches/pcre16/testdata/testoutput5 2011-12-27 17:32:22 UTC (rev 832)
+++ code/branches/pcre16/testdata/testoutput5 2011-12-28 08:38:29 UTC (rev 833)
@@ -1568,4 +1568,90 @@
/\x{dfff}/8
Failed: disallowed UTF-8/16 code point (>= 0xd800 && <= 0xdfff) at offset 7
+/\h+/8
+ \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
+ 0: \x{1680}\x{2000}\x{202f}\x{3000}
+ \x{3001}\x{2fff}\x{200a}\x{a0}\x{2000}
+ 0: \x{200a}\x{a0}\x{2000}
+
+/[\h\x{e000}]+/8BZ
+------------------------------------------------------------------
+ Bra
+ [\x09 \xa0\x{1680}\x{180e}\x{2000}-\x{200a}\x{202f}\x{205f}\x{3000}\x{e000}]+
+ Ket
+ End
+------------------------------------------------------------------
+ \x{1681}\x{200b}\x{1680}\x{2000}\x{202f}\x{3000}
+ 0: \x{1680}\x{2000}\x{202f}\x{3000}
+ \x{3001}\x{2fff}\x{200a}\x{a0}\x{2000}
+ 0: \x{200a}\x{a0}\x{2000}
+
+/\H+/8
+ \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
+ 0: \x{167f}\x{1681}\x{180d}\x{180f}
+ \x{2000}\x{200a}\x{1fff}\x{200b}
+ 0: \x{1fff}\x{200b}
+ \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
+ 0: \x{202e}\x{2030}\x{205e}\x{2060}
+ \x{a0}\x{3000}\x{9f}\x{a1}\x{2fff}\x{3001}
+ 0: \x{9f}\x{a1}\x{2fff}\x{3001}
+
+/[\H\x{d7ff}]+/8BZ
+------------------------------------------------------------------
+ Bra
+ [\x00-\x08\x0a-\x1f!-\x9f\xa1-\xff\x{100}-\x{167f}\x{1681}-\x{180d}\x{180f}-\x{1fff}\x{200b}-\x{202e}\x{2030}-\x{205e}\x{2060}-\x{2fff}\x{3001}-\x{10ffff}\x{d7ff}]+
+ Ket
+ End
+------------------------------------------------------------------
+ \x{1680}\x{180e}\x{167f}\x{1681}\x{180d}\x{180f}
+ 0: \x{167f}\x{1681}\x{180d}\x{180f}
+ \x{2000}\x{200a}\x{1fff}\x{200b}
+ 0: \x{1fff}\x{200b}
+ \x{202f}\x{205f}\x{202e}\x{2030}\x{205e}\x{2060}
+ 0: \x{202e}\x{2030}\x{205e}\x{2060}
+ \x{a0}\x{3000}\x{9f}\x{a1}\x{2fff}\x{3001}
+ 0: \x{9f}\x{a1}\x{2fff}\x{3001}
+
+/\v+/8
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ 0: \x{2028}\x{2029}
+ \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
+ 0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
+
+/[\v\x{e000}]+/8BZ
+------------------------------------------------------------------
+ Bra
+ [\x0a-\x0d\x85\x{2028}-\x{2029}\x{e000}]+
+ Ket
+ End
+------------------------------------------------------------------
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ 0: \x{2028}\x{2029}
+ \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
+ 0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
+
+/\V+/8
+ \x{2028}\x{2029}\x{2027}\x{2030}
+ 0: \x{2027}\x{2030}
+ \x{85}\x0a\x0b\x0c\x0d\x09\x0e\x{84}\x{86}
+ 0: \x{09}\x{0e}\x{84}\x{86}
+
+/[\V\x{d7ff}]+/8BZ
+------------------------------------------------------------------
+ Bra
+ [\x00-\x09\x0e-\x84\x86-\xff\x{100}-\x{2027}\x{202a}-\x{10ffff}\x{d7ff}]+
+ Ket
+ End
+------------------------------------------------------------------
+ \x{2028}\x{2029}\x{2027}\x{2030}
+ 0: \x{2027}\x{2030}
+ \x{85}\x0a\x0b\x0c\x0d\x09\x0e\x{84}\x{86}
+ 0: \x{09}\x{0e}\x{84}\x{86}
+
+/\R+/8<bsr_unicode>
+ \x{2027}\x{2030}\x{2028}\x{2029}
+ 0: \x{2028}\x{2029}
+ \x09\x0e\x{84}\x{86}\x{85}\x0a\x0b\x0c\x0d
+ 0: \x{85}\x{0a}\x{0b}\x{0c}\x{0d}
+
/-- End of testinput5 --/