Unicode.String.Break.Line (Unicode String v2.4.0)

Copy Markdown View Source

Deprecated. Use Unicode.String.Dfa.Line instead.

This module implemented the annex by hand. Segmentation is now driven by the state machine tables published in PRI #555, and this module delegates to the engine generated from them. Its behaviour is unchanged; only the module name has moved.

Neither module is the supported interface. Unicode.String is the API to prefer, and it is unaffected by this change.

Summary

Functions

Returns true when a boundary falls between the two strings.

next(string) deprecated

Returns {segment, rest}, or nil when string is empty.

split(string) deprecated

Splits string into segments.

Functions

break?(string_before, string_after)

This function is deprecated. Use Unicode.String.Dfa.Line.break?/2 instead.

Returns true when a boundary falls between the two strings.

next(string)

This function is deprecated. Use Unicode.String.Dfa.Line.next/1 instead.

Returns {segment, rest}, or nil when string is empty.

split(string)

This function is deprecated. Use Unicode.String.Dfa.Line.rule_split/1 instead.

Splits string into segments.