Skip to content

def.lang: Add Unicode identifier category regular expressions

This adds regular expressions for the Unicode ID_Start and ID_Continue categories to def.lang, so that they may be reused in different language definitions.

(These regular expressions are necessary because GRegex does not yet support referencing these categories directly, e.g. \p{ID_Start}.)

This also updates python3.lang to use these new regular expressions.

Merge request reports