glob pattern matching in .NET

后端 未结 14 1474
遇见更好的自我
遇见更好的自我 2020-11-29 01:52

Is there a built-in mechanism in .NET to match patterns other than Regular Expressions? I\'d like to match using UNIX style (glob) wildcards (* = any number of any characte

14条回答
  •  余生分开走
    2020-11-29 02:22

    If you use VB.Net, you can use the Like statement, which has Glob like syntax.

    http://www.getdotnetcode.com/gdncstore/free/Articles/Intoduction%20to%20the%20VB%20NET%20Like%20Operator.htm

提交回复
热议问题