Your browser does not fully support modern features. Please upgrade for a smoother experience.
Submitted Successfully!
Thank you for your contribution! You can also upload a video entry or images related to this topic. For video creation, please contact our Academic Video Service.
Version Summary Created by Modification Content Size Created at Operation
1 handwiki Camila Xu -- 1286 2022-11-22 01:31:09

Video Upload Options

We provide professional Academic Video Service to translate complex research into visually appealing presentations. Would you like to try it?
Cite
If you have any further questions, please contact Encyclopedia Editorial Office.
HandWiki. Perl 6 Rules. Encyclopedia. Available online: https://encyclopedia.pub/entry/35722 (accessed on 05 October 2026).
HandWiki. Perl 6 Rules. Encyclopedia. Available at: https://encyclopedia.pub/entry/35722. Accessed October 05, 2026.
HandWiki. "Perl 6 Rules" Encyclopedia, https://encyclopedia.pub/entry/35722 (accessed October 05, 2026).
HandWiki. (2022, November 22). Perl 6 Rules. In Encyclopedia. https://encyclopedia.pub/entry/35722
HandWiki. "Perl 6 Rules." Encyclopedia. Web. 22 November, 2022.
Perl 6 Rules
Edit

Perl 6 rules are the regular expression, string matching and general-purpose parsing facility of Perl 6, and are a core part of the language. Since Perl's pattern-matching constructs have exceeded the capabilities of formal regular expressions for some time, Perl 6 documentation refers to them exclusively as regexes, distancing the term from the formal definition. Perl 6 provides a superset of Perl 5 features with respect to regexes, folding them into a larger framework called rules, which provide the capabilities of a parsing expression grammar, as well as acting as a closure with respect to their lexical scope. Rules are introduced with the rule keyword, which has a usage quite similar to subroutine definitions. Anonymous rules can be introduced with the regex (or rx) keyword, or simply be used inline as regexes were in Perl 5 via the m (matching) or s (substitution) operators.

regular expressions string matching perl

References

  1. Wall, Larry (June 4, 2002). "Apocalypse 5: Pattern Matching". http://dev.perl.org/perl6/doc/design/apo/A05.html. 
  2. Perl 5.10 now available - Perl Buzz http://perlbuzz.com/2007/12/perl-510-now-available.html
  3. moritz (May 5, 2012). "Rakudo Star 2012.05 released". http://rakudo.org/2012/05/23/rakudo-star-2012-05-released/. 
More
Upload a video for this entry
Information
Subjects: Others
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register :
View Times: 1.6K
Entry Collection: HandWiki
Revision: 1 time (View History)
Update Date: 22 Nov 2022
Notice
You are not a member of the advisory board for this topic. If you want to update advisory board member profile, please contact office@encyclopedia.pub.
OK
Confirm
Only members of the Encyclopedia advisory board for this topic are allowed to note entries. Would you like to become an advisory board member of the Encyclopedia?
Yes
No
${ textCharacter }/${ maxCharacter }
Submit
Cancel
There is no comment~
${ textCharacter }/${ maxCharacter }
Submit
Cancel
${ selectedItem.replyTextCharacter }/${ selectedItem.replyMaxCharacter }
Submit
Cancel
Confirm
Are you sure to Delete?
Yes No
Academic Video Service