platform; see :ref:`instr_specialization` for details.
=====================
-Compile Pure Literals
+Compile Pure Literals
=====================
Pure literal is a special case of regular expression. A character sequence is
#. :c:func:`hs_compile_lit_multi`: compiles an array of pure literals into a
pattern database. All of the supplied patterns will be scanned for
concurrently at scan time, with user-supplied identifiers returned when they
- match.
+ match.
These 2 APIs are designed for use cases where all patterns contained in the
target rule set are pure literals. Users can pass the initial pure literal
* offset when a match is reported for this expression. (By default, no start
* of match is returned.)
*
- * Enabling this behaviour may reduce performance and increase stream state
- * requirements in streaming mode.
+ * For all the 3 modes, enabling this behaviour may reduce performance. And
+ * particularly, it may increase stream state requirements in streaming mode.
*/
#define HS_FLAG_SOM_LEFTMOST 256