首页> 外文期刊>MSDN Magazine >NETTING C++: Introducing Regular Expressions
【24h】

NETTING C++: Introducing Regular Expressions

机译:NETTING C ++:引入正则表达式

获取原文
获取原文并翻译 | 示例

摘要

One of the most significant benefits of moving from ISO-C++ to C++/CLI is the enormous Microsoft~® .NET Framework Class Library (FCL) that immediately becomes available. Most readers are aware of the more glamorous domains supported by the FCL, such as Web services, networking, threads, ASP.NET, and so on. In this column, I introduce the support for regular expressions in the .NET Framework. Because ISO-C++ is without standard support for regular expressions, my TQL application (introduced in previous Netting C++ columns) uses the standard string class for all pattern matching. This occurs, for example, with the need to normalize word occurrences within a text, such as recognizing "tried", "tries", and "trying" as instances of "try". With the move to C++/CLI, I'd like to replace the string handling with the more concise and powerful .NET regular expression support. That's what I hope to accomplish in the next column, after making my way through a brief regular expression tutorial here.
机译:从ISO-C ++迁移到C ++ / CLI的最大好处之一就是巨大的Microsoft〜.NET Framework类库(FCL),该类库立即可用。大多数读者都知道FCL支持的更吸引人的领域,例如Web服务,网络,线程,ASP.NET等。在本专栏中,我介绍了.NET Framework中对正则表达式的支持。因为ISO-C ++不对正则表达式提供标准支持,所以我的TQL应用程序(在先前的Netting C ++列中引入)将标准字符串类用于所有模式匹配。例如,这需要标准化文本中的单词出现,例如将“ tried”,“ tries”和“ trying”识别为“ try”的实例。随着向C ++ / CLI的迁移,我想用更简洁,更强大的.NET正则表达式支持代替字符串处理。这是我在这里简要介绍了正则表达式教程之后所希望在下一节中完成的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号