Comments (3)
I wasn't able to reproduce this on julia-0.6.0 on Linux; I copied and pasted your code into the REPL, and the last line returned "あaaa"
, not an error. I even tried it again with LC_ALL=C
and LANG=C
, with the same result. Can you give me more detail about your setup, and what test you did to justify saying "Julia's pcre is not broken in this case"?
from peg.jl.
Thanks for reply. My environment is the following.
julia> versioninfo()
Julia Version 0.6.2
Commit d386e40c17 (2017-12-13 18:08 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin14.5.0)
CPU: Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, broadwell)
To get that error, please just run LANG=C LC_ALL=C julia test.jl
and test.jl
is that snippet.
using PEG
@rule s = r".+"
parse_whole(s, "あaaa")
and what test you did to justify saying "Julia's pcre is not broken in this case"?
I ran this code.
julia> match(r".+", "あaaa")
RegexMatch("あaaa")
from peg.jl.
This issue has been solved by removing '~/.julia'. It seems that some old packages has affected PEG.jl . I'm sorry I could not detected these packages.
from peg.jl.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peg.jl.