aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/unicode.mli
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-10-04 15:37:36 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-10-05 08:38:45 +0200
commit40260a31cd197f655e6d3e0570a88d96fc1a9cac (patch)
tree0d0618bda35573e674b55a86364a5e39bf054442 /lib/unicode.mli
parent526791d917f9b0804376eae02a462a3b32dd7cba (diff)
Fixing BZ#5769 (variable of type "_something" was named after invalid "_").
Diffstat (limited to 'lib/unicode.mli')
-rw-r--r--lib/unicode.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/unicode.mli b/lib/unicode.mli
index a608d5f02..49b844493 100644
--- a/lib/unicode.mli
+++ b/lib/unicode.mli
@@ -30,6 +30,10 @@ val is_unknown : status -> bool
@raise Assert_failure if the input string is empty. *)
val lowercase_first_char : string -> string
+(** Split a string supposed to be an ident at the first letter;
+ as an optimization, return None if the first character is a letter *)
+val split_at_first_letter : string -> (string * string) option
+
(** Return [true] if all UTF-8 characters in the input string are just plain
ASCII characters. Returns [false] otherwise. *)
val is_basic_ascii : string -> bool