Just what is a regular expression, anyway? Take the tutorial to get the long answer. The short answer is that a regular expression is a compact way of describing complex patterns in texts. You can use them to search for patterns and, once found, to modify the patterns in complex ways. You can also use them to launch programmatic actions that depend on patterns. A tongue-in-cheek comment by programmers is worth thinking about: "Sometimes you have a programming problem and it seems like the best solution is to use regular expressions now you have two problems." Regular expressions are amazingly powerful and deeply expressive. That is the very reason writing them is just as error-prone as writing any other complex programming code. It is always better to solve a genuinely simple problem in a simple way when you go beyond simple, think about regular expressions. Tutorial: Using regular expressions
标签: expression the tutorial regular
上传时间: 2013-12-19
上传用户:sardinescn
(五)测试数据:n=0 n=-1 n=2 a 1 2 a 2 3 a 3 4 d 3 5 n=2 a 1 5 a 2 10 d 1 15 a 3 20 a 4 25 a 5 30 d 2 35 d 4 40 e 0 0 (六)测试结果:error error 没付钱,没停就走了 第一辆车付50元 第二辆车付125元 第三辆车没出来 第四辆车付25元 第五辆车没进入
上传时间: 2014-02-08
上传用户:wfeel
PIC 驱动9320 Module for Microchip Graphics Library ILITEK ILI9320 LCD controller driver Landscape orientation in 16-bit mode
标签: 9320 controller Microchip Landscape
上传时间: 2016-04-01
上传用户:xuanjie
ChipScope使用示例 简介:本示例中使用了一个ChipScope IP,将BIT文件配置到FPGA中后,可以启动 ChipScope Pro Analyer 捕获FPGA中数据,并显示如图所示。
上传时间: 2013-12-13
上传用户:王小奇
PCI设计指南The Xilinx LogiCORE PCI interface is a fully verified, pre-implemented PCI Bus interface. This interface is available in 32-bit and 64- bit versions, with support for multiple Xilinx FPGA device families. It is designed to support both Verilog-HDL and VHDL. The design examples in this book are provided in Verilog.
标签: interface PCI pre-implemented LogiCORE
上传时间: 2016-04-03
上传用户:清风冷雨
英飞凌16位单片机xc167选型指南The XC167CI is a new derivative of the popular C166 microcontroller family that is based on the enhanced C166S V2 architecture it outperforms existing 16-bit solutions.
标签: microcontroller derivative 167 popular
上传时间: 2013-12-27
上传用户:坏天使kk
The jacobi.f program solves the Helmholtz equation on a regular mesh, using an iterative Jacobi method with over-relaxation. Parallelism is exploited in both the solver and the numerical error checking
标签: Helmholtz iterative equation program
上传时间: 2016-04-03
上传用户:杜莹12345
测试光纤通信误码率 采用串口RS232接口,与下位机相连,中间通过光纤传输,光电转换来测试光纤通信误码率 VC6.0编译通过-fiber code error testing
上传时间: 2016-04-04
上传用户:wangchong
A digital fi‘equeney meter designed with FPGA development software Q-~us 11 is introduced.The 1 Hz—l MHz input measured pulse signals of the digital ii‘equency meter can be used for measuring frequency,period,pulse width and duty ratio,etc.The test results stably display O71 3 seven—segment numeric tubes,and the measuring ranges may be switched over automatically.The measuring error is equal to or less than 0.1%.
标签: development introduced designed software
上传时间: 2016-04-09
上传用户:stewart·
// This program measures the voltage on an external ADC input and prints the // result to a terminal window via the UART. // // The system is clocked using the internal 24.5MHz oscillator. // Results are printed to the UART from a loop with the rate set by a delay // based on Timer 2. This loop periodically reads the ADC value from a global // variable, Result.
标签: the measures external program
上传时间: 2013-12-27
上传用户:trepb001