nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e6b9b4
)
lib: Pattern is an interface
author
Jean Privat
<jean@pryen.org>
Thu, 31 Mar 2011 14:49:57 +0000
(10:49 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 31 Mar 2011 14:52:08 +0000
(10:52 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
lib/standard/string_search.nit
patch
|
blob
|
history
diff --git
a/lib/standard/string_search.nit
b/lib/standard/string_search.nit
index
d37ac7b
..
162beec
100644
(file)
--- a/
lib/standard/string_search.nit
+++ b/
lib/standard/string_search.nit
@@
-17,7
+17,7
@@
package string_search
import string
# Patterns are string motifs.
-class Pattern
+interface Pattern
# Search `self' into `s' from a certain position.
# Return the position of the first character of the matching section.
# Return -1 if not found.