Parcourir la source

feat(regexp): use standard regexp by default, make go-re2 opt-in (#1798)

Tom Payne il y a 11 mois
Parent
commit
6cc0e386ac
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      regexp/stdlib_regex.go
  2. 1 1
      regexp/wasilibs_regex.go

+ 1 - 1
regexp/stdlib_regex.go

@@ -1,4 +1,4 @@
-//go:build stdregex
+//go:build !gore2regex
 
 package regexp
 

+ 1 - 1
regexp/wasilibs_regex.go

@@ -1,4 +1,4 @@
-//go:build !stdregex
+//go:build gore2regex
 
 package regexp