This is semantically equivalent to (?=b|$) -> []|(?=b|$).
Note: This operation will typically return a FirstPartiallyConsumedChar. It will only return a
FirstFullyConsumedChar if the given char is empty and edge: false. This is because
(?=[]) -> []|(?=[]) == [].
Converts the given FirstLookChar to a FirstConsumedChar.
This is semantically equivalent to
(?=b|$)
->[]|(?=b|$)
.Note: This operation will typically return a FirstPartiallyConsumedChar. It will only return a FirstFullyConsumedChar if the given
char
is empty andedge: false
. This is because(?=[])
->[]|(?=[])
==[]
.