summaryrefslogtreecommitdiff
path: root/libgo/go/regexp
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/regexp')
-rw-r--r--libgo/go/regexp/exec_test.go4
-rw-r--r--libgo/go/regexp/regexp.go2
-rw-r--r--libgo/go/regexp/syntax/parse.go2
-rw-r--r--libgo/go/regexp/testdata/re2-exhaustive.txt.bz2bin0 -> 394016 bytes
4 files changed, 4 insertions, 4 deletions
diff --git a/libgo/go/regexp/exec_test.go b/libgo/go/regexp/exec_test.go
index 499d1a529f7..d981f5495e7 100644
--- a/libgo/go/regexp/exec_test.go
+++ b/libgo/go/regexp/exec_test.go
@@ -9,15 +9,15 @@ import (
"compress/bzip2"
"fmt"
"io"
+ "math/rand"
old "old/regexp"
"os"
"path/filepath"
- "rand"
"regexp/syntax"
"strconv"
"strings"
"testing"
- "utf8"
+ "unicode/utf8"
)
// TestRE2 tests this package's regexp API against test cases
diff --git a/libgo/go/regexp/regexp.go b/libgo/go/regexp/regexp.go
index 9e9fb856dc0..b906076f9eb 100644
--- a/libgo/go/regexp/regexp.go
+++ b/libgo/go/regexp/regexp.go
@@ -60,7 +60,7 @@ import (
"strconv"
"strings"
"sync"
- "utf8"
+ "unicode/utf8"
)
var debug = false
diff --git a/libgo/go/regexp/syntax/parse.go b/libgo/go/regexp/syntax/parse.go
index ba5c0a159e8..2ad682f0047 100644
--- a/libgo/go/regexp/syntax/parse.go
+++ b/libgo/go/regexp/syntax/parse.go
@@ -8,7 +8,7 @@ import (
"sort"
"strings"
"unicode"
- "utf8"
+ "unicode/utf8"
)
// An Error describes a failure to parse a regular expression
diff --git a/libgo/go/regexp/testdata/re2-exhaustive.txt.bz2 b/libgo/go/regexp/testdata/re2-exhaustive.txt.bz2
new file mode 100644
index 00000000000..a357f280169
--- /dev/null
+++ b/libgo/go/regexp/testdata/re2-exhaustive.txt.bz2
Binary files differ