:py:mod:`maha.expressions` ========================== .. py:module:: maha.expressions .. autoapi-nested-parse:: Module for the general expressions used in maha Submodules ---------- .. toctree:: :titlesonly: :maxdepth: 1 arabic/index.rst english/index.rst general/index.rst Package Contents ---------------- .. py:data:: EXPRESSION_ARABIC_HASHTAGS Expression that matches Arabic hashtags .. py:data:: EXPRESSION_ARABIC_MENTIONS Expression that matches Arabic mentions .. py:data:: EXPRESSION_ENGLISH_HASHTAGS Expression that matches English hashtags .. py:data:: EXPRESSION_ENGLISH_MENTIONS Expression that matches English mentions .. py:data:: EXPRESSION_HASHTAGS Expression that matches hashtags .. py:data:: EXPRESSION_MENTIONS Expression that matches mentions .. py:data:: EXPRESSION_LINKS Liberal, Accurate Regex Expression for Matching Web URLs .. py:data:: EXPRESSION_EMAILS Expression that matches emails .. py:data:: EXPRESSION_EMOJIS Expression that matches emojis .. py:data:: EXPRESSION_ALL_SPACES Expression that matches space variations. Normal space is not included. Taken from: https://jkorpela.fi/chars/spaces.html .. py:data:: EXPRESSION_INTEGER Expression that matches Arabic and English integers .. py:data:: EXPRESSION_DECIMAL Expression that matches Arabic and English decimals .. py:data:: EXPRESSION_SPACE Expression that matches at least one whitespace .. py:data:: EXPRESSION_SPACE_OR_NONE Expression that matches zero or more whitespaces