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