Description: 输入一个正则表达式,可以使用: 小写字母或数字,表示终结符;*,闭包;+,并集;~,补集;E,空串;O,空集 然后程序将生成 相应的NFA,以及化简之后的DFA,最后再输入一个字符串,程序判断它是否满足该正则表达式-input is a regular expression, you can use : lowercase letters or numbers, said Fu end;* Closure; , And set; To complement the set; E, empty string; O, empty set procedures will then generate the corresponding NFA, and the simplification of the DFA after finally lose into a string, procedures judgment whether it is to meet the regular expression Platform: |
Size: 249856 |
Author:杨震原 |
Hits:
Description: 程序用JAVA语言编写, 综合利用图结构和堆栈结构进行数据组织和处理. 可以进行正则表达式到NFA的转化, 并能用图形直观的表示.
对正则表达式有一些约定, 就是可以用单个字符表示输入, 也可以用 ‘ ‘ 连接起来的一串字符进行输入. 有基本的表达式以及由基本表达式构成的并置, 选择和重复的操作.
例:
A|b*c
‘letter’*’digit’
等都是合法输入. 还带有括号功能, 优先级
-procedures using Java language. Comprehensive Utilization graph structure and stack structure and data processing. it is a regular expression for NFA to the transformation and can use the intuitive graphical said. Regular expressions are to some agreement and it is expressed with a single character input, we could also use '' linking the string of characters for importation. a basic expressions and by the basic form of expression and Home and choose and repeat the operation. cases : A | b* c 'letter'* 'digit' are all legally imported. also bracketed with functionality, prioritized Platform: |
Size: 12288 |
Author:onlyerlee |
Hits:
Description: 用来解析正则表达式并在文件中寻找符合表达式的串-used to interpret and is a regular expression in the document to find expression Series Platform: |
Size: 23552 |
Author:mayjojo |
Hits:
Description: 正则表达式(regular expression)使用大全,收集了常用的使用方法和交流学习网址。正则表达式用于字符串处理,表单验证等场合,实用高效,但用到时总是不太把握,以致往往要上网查一番。我将一些常用的表达式收藏在这里,作备忘之用。本贴随时会更新。-regular expression (regular expression) using Daquan, collection of commonly used methods of using learning and the exchange website. Regular expressions are used for string handling, form validation, and so on, practical and efficient, but not always used grasp, so often to the net to check some. I used some of the expressions stored in here, the releases purposes. The stickers will be updated at any time. Platform: |
Size: 21504 |
Author:jty |
Hits:
Description: 学习正则表达式的编写,了解正则表达式的使用与验证,本人收藏作品。推荐~-study is the preparation of regular expressions, understanding regular expression with the use of certification, I collect works. Suggest ~ Platform: |
Size: 507904 |
Author:刘某 |
Hits:
Description: Text processing often involves matching text against a pattern. Although Java s character and assorted string classes offerlow- levelpattern- matching support, that support commonly leads to complex code. To help you write simplerpattern- matching code, Java provides regular expressions. After introducing you to terminology and thejava.util. regex package, Jeff Friesen explores many regular expression constructs supported by that package s Pattern class. Then he examines Pattern s methods and the additionaljava.util. regex classes. In conclusion, he presents a practical application of regular expressions.-Text processing often involves matching text against a pattern. Although Java s character and assorted string classes offerlow-levelpattern-matching support, that support commonly leads to complex code. To help you write simplerpattern-matching code, Java provides regular expressions. After introducing you to terminology and thejava.util. regex package, Jeff Friesen explores many regular expression constructs supported by that package s Pattern class. Then he examines Pattern s methods and the additionaljava.util. regex classes. In conclusion, he presents a practical application of regular expressions. Platform: |
Size: 111616 |
Author:qlw |
Hits:
Description: 这是我自己写的将正则表达式的parser,通过将正则表达式先编译成NFA格式,大大加快搜索速度.-This is what I wrote it myself will be the regular expression parser, by first compiling regular expressions into NFA format, greatly accelerate the search speed. Platform: |
Size: 2048 |
Author:binch |
Hits:
Description: 一个大学时候做的编译原理的实验.实验内容是正则表达式到NFA到DFA到最小化DFA最终生成词法分析代码的整个过程的演示.那时由于时间关系,词法分析代码自动生成部分还没完成.-When a university to do the compiling principle experiment. Experiment is a regular expression to NFA to DFA to minimal DFA of the final lexical analysis code to generate the whole process of demonstration. At that time, due to time constraints, lexical analysis part of automatically generated code not yet complete . Platform: |
Size: 124928 |
Author:THM |
Hits:
Description: 、该个词法分析器要求至少能够识别以下几类单词:
a. 关键字:else if int return void while共6个,所有的关键字都是保留字,并且必须是小写;
b. 标识符:识别与C语言词法规定相一致的标识符,通过下列正则表达式定义:ID = letter (letter | digit)*;
c. 常数:NUM=(+ | - |ε)digit digit*(.digit digit* |ε)(e(+ | - |ε) digit digit* |ε),letter = a|..|z|A|..|Z|,digit = 0|..|9,包括整数,如123, -123, +123等;小数,如123.45, +123.45, -123.45;科学计数法表示的常数,如+1.23e3,-2.3e-9;
d. 专用符号:+ - * / < <= > >= == != = , ( ) [ ] { } /* */;
-, Which require at least a lexical analyzer can identify the following types of words: a. Keyword: else if int return void while a total of six, all keywords are reserved words and must be lowercase b. Identifier: Identification and C language provides consistent lexical identifiers, through the definition of the following regular expression: ID = letter (letter | digit)* c. Constants: NUM = (+ |- | Ε) digit digit* (. Digit digit* | ε) (e (+ |- | Ε) digit digit* | ε), letter = a | .. | z | A | .. | Z |, digit = 0 | .. | 9, including integer, such as 123,-123,+ 123, etc. decimals, such as 123.45,+ 123.45,-123.45 science express constant counting method, such as+ 1.23e3,-2.3e-9 d. Special symbols:+-*/ Platform: |
Size: 2048 |
Author:dujuan |
Hits:
Description: 一本书:
精通正则表达式_OReilly.Mastering.Regular.Expressions.3rd.Edition.Aug
可以作为一个很好的收藏-A book: proficient _OReilly.Mastering.Regular.Expressions.3rd.Edition.Aug regular expressions can be used as a very good collection Platform: |
Size: 1505280 |
Author:LiMing |
Hits:
Description: 《精通正则表达式》第三版英文pdf版,高级程序员必读。- Proficient in the regular expression the third edition of the English pdf version of must-read high-level programmers. Platform: |
Size: 1907712 |
Author:李伟 |
Hits:
Description: 精通正则表达式pdf和chm版本
牛人必备-Proficient in the regular expression version of pdf and chm cattle were necessary Platform: |
Size: 3668992 |
Author:苗文彦 |
Hits:
Description: 输入正则表达式,转化为NFA,DFA,从测试文档中找出最大匹配子串-Enter the regular expression into NFA, DFA, document from the test to find out the biggest match Substring Platform: |
Size: 67584 |
Author: |
Hits:
Description: 这本书介绍了正则表达式的基本语法和应用 深入浅出 循序渐进 能帮助你快速掌握正则表达式-This book introduces the basic regular expression syntax and application of easy step-by-step can help you quickly master the regular expression Platform: |
Size: 285696 |
Author:lmm |
Hits:
Description: Mastering Regular Expression that is very good for string manipulation in Unix and Windows Platform: |
Size: 1505280 |
Author:nqbinh |
Hits: