git » sdk » commit 1798064

Use pcre2 syntax in eval/tests

author Stephen Paul Weber
2025-06-24 18:53:10 UTC
committer Stephen Paul Weber
2025-06-24 18:53:10 UTC
parent 731c25f1ec83d9f0bf86e05531c0e80dc62ac9fb

Use pcre2 syntax in eval/tests

snikket/Autolink.hx +1 -1

diff --git a/snikket/Autolink.hx b/snikket/Autolink.hx
index 1b9d3ce..a277dcf 100644
--- a/snikket/Autolink.hx
+++ b/snikket/Autolink.hx
@@ -199,7 +199,7 @@ class Autolink {
 	/**
 	 * Valid UCS characters defined in RFC 3987. Excludes space characters.
 	 */
-	#if cpp
+	#if (cpp || eval)
 	private static final UCS_CHAR =
 			"\\x{00A0}-\\x{D7FF}" +
 			"\\x{F900}-\\x{FDCF}" +