intial commits
parent
3d2fc6f837
commit
4b22917a09
|
@ -0,0 +1,10 @@
|
||||||
|
package mark
|
||||||
|
|
||||||
|
func ByteIs(value byte) bool {
|
||||||
|
switch value {
|
||||||
|
case '-' , '_' , '.' , '!' , '~' , '*' , '\'' , '(' , ')':
|
||||||
|
return true
|
||||||
|
default:
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,10 @@
|
||||||
|
package mark
|
||||||
|
|
||||||
|
func RuneIs(value rune) bool {
|
||||||
|
switch value {
|
||||||
|
case '-' , '_' , '.' , '!' , '~' , '*' , '\'' , '(' , ')':
|
||||||
|
return true
|
||||||
|
default:
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue