Regular Expressions 101

Community Patterns

ApiDocumentation

1

Regular Expression
PCRE (PHP <7.3)

/
(?P<Spring>Spring\.)(?P<FunctionName>[a-zA-Z0-9]+)([^\(]+\()(?P<Arguments>([^\)]+))\)([^>]+>)(?P<ReturnType>[^\n]+)
/

Description

This Regex takes a Api (the Spring Lua Api in Particular here) And converts it into a LuaMockUp that asserts its arguments by type and returns a valid Value

Submitted by PicassoCT - 8 years ago