LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
raphschru

Make "Match Regular Expression" inlinable

Status: New

Every now and then, I stumble upon the following error when trying to use the "Match Regular Expression" node in a inlined/malleable VI:

 

raphschru_0-1727975484834.png

 

If I understand correctly this discussion, this is because it is an XNode, which is currently (or definitively) not supported in inlined VIs.

But further in the discussion, it is said that an exception was added in the compiler to allow inlining the "Error Ring" XNode.

 

My idea is to consider adding the same exception for the "Match Regular Expression" XNode, or make any modification that would result in this node being inlinable.

 

Also, there is nothing in the generated code of the "Match Regular Expression" XNode that prevents inlining!

All it really does is using a CLFN to call function "MatchRegExpEfficient" from the LabVIEW library.

 

Regards,

Raphaël.

2 Comments
wiebe@CARYA
Knight of NI

For now, the sub VI proposed here:

Add Match Regular Expression sub VI - NI Community

 

can be inlined...

BertMcMahan
Active Participant

I've used the "make a wrapper around Match Regular Expression" before and it works great. You lose dynamic type updates, but in my case, those were all fully defined at edit time. It would definitely be nice to have those updates though.