Comments (2)
@daph
Rakudo-star 2016.10 has a bug related to regex.
When you smartmatch against a regex stored variable, it returns Bool and doesn't generate a Match instance:
- 2016.10
$ perl6 -e 'my $a = rx/a/; ("a" ~~ $a).say; say $/;'
True
Nil
- latest version( Rakudo version 2016.10-295-g85c7072 )
$ perl6 -e 'my $a = rx/a/; ("a" ~~ $a).say; say $/;'
「a」
「a」
The above bug was already fixed and tested here:
Raku/roast@839566c
So, could you install the latest Rakudo with rakudobrew and try it again ?
from rakuguide.
Yup. It works with the latest rakudo. Thanks for the help.
from rakuguide.
Related Issues (20)
- For regex definitions explain the differences HOT 1
- Track translation in separated branches HOT 2
- should snippets of code from perl6intro be linked with an eval service? HOT 1
- http://es.perl6intro.com points to english version HOT 1
- example doesn't compile HOT 2
- [TR] 10.1 Catching Exceptions HOT 1
- binding code snippet example not working HOT 1
- UTF8 PDF
- Could you please add Russian language? HOT 5
- Please use HTTPS HOT 3
- Style/wording review HOT 1
- MD5
- Bug in corrected Multiple inheritance example HOT 2
- far too long
- `print` should be `say` I think HOT 1
- favicon says P6 HOT 1
- Link to latest Rakudo Star HOT 2
- Please add a recursion example to the functional programming section
- Constants can be lexically scoped in Raku
- documentation comment raise error in raku REPL
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 rakuguide.