取消
显示结果 
搜索替代 
您的意思是: 

Regular expression in case structure

Hi there you LabVIEW grooves!

 

I think it would be quite pleasant if a real RegExp could be written directly inside case structure's selectors, when using a string input.

For me that would save a great deal of coding, increase my code readability significantly, and in general - will finally encourage me to implement what I really intended in the first place rather than settling with what I can write in a reasonable time.

 

This can be extremely useful for decisions based on free-written input user data.

 

Hope to get a lobby on this one - maybe we can influence the next version!!!

 
 
0 项奖励
1 条消息(共 4 条)
4,399 次查看
The right place would be to submit your request to the product suggestion center:
 
 
Good luck! 🙂
0 项奖励
2 条消息(共 4 条)
4,390 次查看
Nice Idea.  But I'm not sure you need to wait until the next version of Labview.   I believe this could be written as a VI.    Now you got me all cranked up thinking about this.  I won't get any sleep this weekend.   Thanks a heap! 🙂
 
eric
0 项奖励
3 条消息(共 4 条)
4,362 次查看
This is a feature I have wanted for a while without needing external vi.  I have been faking it out with using string ranges "AAA"..."AAZ" will work like the regular expression AA[A-Z]  works for very simple strings.
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
4 条消息(共 4 条)
4,296 次查看