摘要
本文介绍了正则表达式的基础知识,阐述了正则表达库regex在VC6.0开发平台下的使用,并结合C++语言编写了常用测量数据信息的提取。将正则表达式引入到测量数据处理中可以充分发挥正则表达式的强大功能,大大简化了数据处理的过程,提高了工作效率,同时使代码更具有普遍性和可维护性。
This article described basic knowledge of regular expression, the usage of Regex library in Boost on VC6. 0 development platform. It displayed the extraction of usual geodesy data by C ++ language. Drawing regular expression into geodesy data process- ing can perform powerful functions, such as simplifying the course of data processing, improving work efficiency, also can let codes be more universal and maintainable.
出处
《测绘科学》
CSCD
北大核心
2011年第2期208-209,220,共3页
Science of Surveying and Mapping
基金
国家自然科学基金项目(40902081)