cancel
Showing results for 
Search instead for 
Did you mean: 

Support for regex - either in conditions or as an action with capture groups exposed

It would be really good to have support for regular expressions.

 

This could be surfaced in the UI ideally in both conditions and actions.

 

A conditional regex would just test whether a string matched against a regex.

An action regex would expose capture groups.

Status: Under Review

This is a great suggestion - we are trying to identify a way to safely run regex in Flow.

Comments
Level: Powered On

*deleted, because still waiting for answer making a new post*

Level: Powered On

@Stephen 

Under review since "‎12-18-2018 01:19 PM". What means "under review" for you? Is it just a state to show user that you will not left anything in state "new"? Or do you really actively working on it?

 

What is the outcome of your review and when will you plan it? This is a really great feature and makes the use of flow for many scenarios much easier!

 

For Searching it would be nice, in Conditions it would be nice, and also to have the possibility to get matching groups and also for replacements it would be really, really great.

 

Regex should be possible for conditions and also to search in a string for matching groups and get the matches as output. It's a shame that regular expressions are not support. RegeEx ist such a basic but powerful thing. Much better als simple text search/split, etc. 

 

And also of course for replace. Like in SED.

 

To have RegEx available for conditions, string search and replaces, will decrease the need of a lot of compose-chains and expression-chains.