summaryrefslogtreecommitdiff
path: root/lib/regex
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-23 03:15:40 -0800
committerOri Bernstein <ori@eigenstate.org>2016-01-23 03:15:40 -0800
commita87c06a2b53bbaae033b37327c7e3db0495f23e4 (patch)
treebafcf0b1403ca6a8ea30a9884004dbf6fdd3b74f /lib/regex
parent6d5d0ec7ee3480347255a9f469c26c8c34b2819a (diff)
downloadmc-a87c06a2b53bbaae033b37327c7e3db0495f23e4.tar.gz
Move away from ".use" suffix.
Diffstat (limited to 'lib/regex')
-rw-r--r--lib/regex/compile.myr4
-rw-r--r--lib/regex/interp.myr2
-rw-r--r--lib/regex/test/basic.myr2
-rw-r--r--lib/regex/test/boundaries.myr2
-rw-r--r--lib/regex/test/capture.myr2
-rw-r--r--lib/regex/test/class.myr2
-rw-r--r--lib/regex/test/failmatch.myr2
-rw-r--r--lib/regex/test/negclass.myr2
-rw-r--r--lib/regex/test/unicode.myr2
9 files changed, 10 insertions, 10 deletions
diff --git a/lib/regex/compile.myr b/lib/regex/compile.myr
index d62d006..6a44ff1 100644
--- a/lib/regex/compile.myr
+++ b/lib/regex/compile.myr
@@ -1,7 +1,7 @@
use std
-use "types.use"
-use "ranges.use"
+use "types"
+use "ranges"
pkg regex =
const parse : (re : byte[:] -> std.result(ast#, status))
diff --git a/lib/regex/interp.myr b/lib/regex/interp.myr
index dafe582..8000ac8 100644
--- a/lib/regex/interp.myr
+++ b/lib/regex/interp.myr
@@ -1,6 +1,6 @@
use std
-use "types.use"
+use "types"
pkg regex =
const exec : (re : regex#, str : byte[:] -> std.option(byte[:][:]))
diff --git a/lib/regex/test/basic.myr b/lib/regex/test/basic.myr
index 168b547..35109c9 100644
--- a/lib/regex/test/basic.myr
+++ b/lib/regex/test/basic.myr
@@ -1,6 +1,6 @@
use std
-use "testmatch.use"
+use "testmatch"
const main = {
var s : byte[:]
diff --git a/lib/regex/test/boundaries.myr b/lib/regex/test/boundaries.myr
index 196d197..c28b50c 100644
--- a/lib/regex/test/boundaries.myr
+++ b/lib/regex/test/boundaries.myr
@@ -1,5 +1,5 @@
use std
-use "testmatch.use"
+use "testmatch"
const main = {
/* expected matches */
diff --git a/lib/regex/test/capture.myr b/lib/regex/test/capture.myr
index f270428..eaddd41 100644
--- a/lib/regex/test/capture.myr
+++ b/lib/regex/test/capture.myr
@@ -1,5 +1,5 @@
use std
-use "testmatch.use"
+use "testmatch"
const main = {
testmatch("A(.*)", "Abc", `std.Some ["bc"][:])
diff --git a/lib/regex/test/class.myr b/lib/regex/test/class.myr
index 284f440..84864da 100644
--- a/lib/regex/test/class.myr
+++ b/lib/regex/test/class.myr
@@ -1,6 +1,6 @@
use std
-use "testmatch.use"
+use "testmatch"
const main = {
asciiclass()
diff --git a/lib/regex/test/failmatch.myr b/lib/regex/test/failmatch.myr
index c501d00..52acb80 100644
--- a/lib/regex/test/failmatch.myr
+++ b/lib/regex/test/failmatch.myr
@@ -1,6 +1,6 @@
use std
-use "testmatch.use"
+use "testmatch"
const main = {
testmatch(".*bcd", "Abc", `std.None)
diff --git a/lib/regex/test/negclass.myr b/lib/regex/test/negclass.myr
index 19404fa..b23408f 100644
--- a/lib/regex/test/negclass.myr
+++ b/lib/regex/test/negclass.myr
@@ -1,6 +1,6 @@
use std
-use "testmatch.use"
+use "testmatch"
const main = {
asciiclass()
diff --git a/lib/regex/test/unicode.myr b/lib/regex/test/unicode.myr
index 5916a1c..3710a0a 100644
--- a/lib/regex/test/unicode.myr
+++ b/lib/regex/test/unicode.myr
@@ -1,7 +1,7 @@
use std
use regex
-use "testmatch.use"
+use "testmatch"
const main = {
testmatch(".*bæc", "Abæc", `std.Some [][:])