yuvalk / re1 Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/re1
License: BSD 3-Clause "New" or "Revised" License
Automatically exported from code.google.com/p/re1
License: BSD 3-Clause "New" or "Revised" License
The recursive writing of addthread obscures the fact that the Split instruction
is the single reason we need a recursive thread processing order.
The switch cases in addthread in both pike.c and thompson.c all end upon tail
calls. This should be acknowledged and maybe coded with an explicit loop.
Original issue reported on code.google.com by [email protected]
on 30 May 2014 at 7:49
What steps will reproduce the problem?
1.# ./re a 1a2
What is the expected output? What do you see instead?
expected: "thompson match (1,2)"
get: "thompson match (0,2)"
Original issue reported on code.google.com by [email protected]
on 10 Apr 2013 at 7:29
Segfault generated when the following is run:
./re "a|b" a
The following instructions are generated for the above regexp:
0. split 3, 1
1. any
2. jmp 0
3. save 0
4. split 4, 7
5. char a
6. jmp 8
7. char b
8. save 1
9. match
The full output:
Cat(NgStar(Dot), Paren(0, Alt(Lit(a), Lit(b))))
0. split 3, 1
1. any
2. jmp 0
3. save 0
4. split 4, 7
5. char a
6. jmp 8
7. char b
8. save 1
9. match
#2 a
Segmentation fault
I attached a patch that seems to fix the problem.
Original issue reported on code.google.com by [email protected]
on 28 Jan 2010 at 2:45
Attachments:
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 10 Apr 2013 at 5:23
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.