Commit title: Add NELEMS macro

Description:
    - Add a macro to know the number of elements in an array
    - Prepare a regex list
    - Precision on finded regex context