Enviar búsqueda
Cargar
Perl 6 Regex und Grammars
•
0 recomendaciones
•
733 vistas
lichtkind
Seguir
this talk should you prepare you for the new syntax, so you can write Perl 6 today
Leer menos
Leer más
Vista de diapositivas
Denunciar
Compartir
Vista de diapositivas
Denunciar
Compartir
1 de 104
Descargar ahora
Descargar para leer sin conexión
Recomendados
P6kontext2014
P6kontext2014
lichtkind
Perl 5.20: Feature, Kultur, Module, Werkzeuge
Perl 5.20: Feature, Kultur, Module, Werkzeuge
lichtkind
Semanario 6to Poder Edicion 19 de Agosto 2012
Semanario 6to Poder Edicion 19 de Agosto 2012
Angel Monagas
Facturacion 1 factura
Facturacion 1 factura
Maria Rodriguez
El Texto
El Texto
Malena
Octagon romana (1)
Octagon romana (1)
Octagon2
Rsv 127
Rsv 127
Federico Delmato
Top 10 LinkedIn Tips - Albert Kaufman, Constant Contact Authorized Local Expe...
Top 10 LinkedIn Tips - Albert Kaufman, Constant Contact Authorized Local Expe...
Albert Kaufman
Recomendados
P6kontext2014
P6kontext2014
lichtkind
Perl 5.20: Feature, Kultur, Module, Werkzeuge
Perl 5.20: Feature, Kultur, Module, Werkzeuge
lichtkind
Semanario 6to Poder Edicion 19 de Agosto 2012
Semanario 6to Poder Edicion 19 de Agosto 2012
Angel Monagas
Facturacion 1 factura
Facturacion 1 factura
Maria Rodriguez
El Texto
El Texto
Malena
Octagon romana (1)
Octagon romana (1)
Octagon2
Rsv 127
Rsv 127
Federico Delmato
Top 10 LinkedIn Tips - Albert Kaufman, Constant Contact Authorized Local Expe...
Top 10 LinkedIn Tips - Albert Kaufman, Constant Contact Authorized Local Expe...
Albert Kaufman
Issue23
Issue23
The Galilee Society - The Arab National Society for Health, Research and Services
2013 07-24 guía comercio seguro
2013 07-24 guía comercio seguro
Agrupación Villanovense de Comercio
El método VICFARR para desarrollar el talento
El método VICFARR para desarrollar el talento
Dr.Jose A Santos. +4500 contactos
sessie 45 - ppt goede fotos maken
sessie 45 - ppt goede fotos maken
Vereniging Vlaamse Jeugddiensten
WOBI - Jenn Lim - Delivering Happiness
WOBI - Jenn Lim - Delivering Happiness
Delivering Happiness
Análisis de un boli bic
Análisis de un boli bic
victordelatleti
Aprendamosconelmundial
Aprendamosconelmundial
Erick Fritis
Mapa conceptual diario (alerta de tsunami en chile)(l)
Mapa conceptual diario (alerta de tsunami en chile)(l)
Pablo Baigorria Sutera
Oportunidades negocio australia 11052016
Oportunidades negocio australia 11052016
Lara Garcia
UI design for open data V02 nov 2014
UI design for open data V02 nov 2014
Hollie Lubbock
Plan de Marketing Estratégico
Plan de Marketing Estratégico
Junior Bustíos Gómez
ActivBoard: Troubleshooting Tips
ActivBoard: Troubleshooting Tips
Danielle Klaus Hulshizer
The jorc code
The jorc code
Jaime Espinoza
Organizadores gráficos. Rutinas de pensamiento
Organizadores gráficos. Rutinas de pensamiento
mvcasado
Propuesta diplomado pmp (1)
Propuesta diplomado pmp (1)
Aaron S. Coronado Solís
La Leche De Vaca
La Leche De Vaca
Rafael Arroyo
El reconocimiento de la diversidad afectiva sexual y familiar. por j uan carl...
El reconocimiento de la diversidad afectiva sexual y familiar. por j uan carl...
miescuelaimaginaria
Autonomacion (2)
Autonomacion (2)
Katia Arrayales Zamora
Perl 5 Quiz Chemnitz Edition
Perl 5 Quiz Chemnitz Edition
lichtkind
Ruby on Rails SS09 03
Ruby on Rails SS09 03
Daniel Dengler
Von Automaten zu Programmen–Parsergeneratoren und Attributgrammatiken
Von Automaten zu Programmen–Parsergeneratoren und Attributgrammatiken
Tim Furche
Reguläre Ausdrucke (PCRE)
Reguläre Ausdrucke (PCRE)
Dominik Siebel
Más contenido relacionado
Destacado
Issue23
Issue23
The Galilee Society - The Arab National Society for Health, Research and Services
2013 07-24 guía comercio seguro
2013 07-24 guía comercio seguro
Agrupación Villanovense de Comercio
El método VICFARR para desarrollar el talento
El método VICFARR para desarrollar el talento
Dr.Jose A Santos. +4500 contactos
sessie 45 - ppt goede fotos maken
sessie 45 - ppt goede fotos maken
Vereniging Vlaamse Jeugddiensten
WOBI - Jenn Lim - Delivering Happiness
WOBI - Jenn Lim - Delivering Happiness
Delivering Happiness
Análisis de un boli bic
Análisis de un boli bic
victordelatleti
Aprendamosconelmundial
Aprendamosconelmundial
Erick Fritis
Mapa conceptual diario (alerta de tsunami en chile)(l)
Mapa conceptual diario (alerta de tsunami en chile)(l)
Pablo Baigorria Sutera
Oportunidades negocio australia 11052016
Oportunidades negocio australia 11052016
Lara Garcia
UI design for open data V02 nov 2014
UI design for open data V02 nov 2014
Hollie Lubbock
Plan de Marketing Estratégico
Plan de Marketing Estratégico
Junior Bustíos Gómez
ActivBoard: Troubleshooting Tips
ActivBoard: Troubleshooting Tips
Danielle Klaus Hulshizer
The jorc code
The jorc code
Jaime Espinoza
Organizadores gráficos. Rutinas de pensamiento
Organizadores gráficos. Rutinas de pensamiento
mvcasado
Propuesta diplomado pmp (1)
Propuesta diplomado pmp (1)
Aaron S. Coronado Solís
La Leche De Vaca
La Leche De Vaca
Rafael Arroyo
El reconocimiento de la diversidad afectiva sexual y familiar. por j uan carl...
El reconocimiento de la diversidad afectiva sexual y familiar. por j uan carl...
miescuelaimaginaria
Autonomacion (2)
Autonomacion (2)
Katia Arrayales Zamora
Destacado
(18)
Issue23
Issue23
2013 07-24 guía comercio seguro
2013 07-24 guía comercio seguro
El método VICFARR para desarrollar el talento
El método VICFARR para desarrollar el talento
sessie 45 - ppt goede fotos maken
sessie 45 - ppt goede fotos maken
WOBI - Jenn Lim - Delivering Happiness
WOBI - Jenn Lim - Delivering Happiness
Análisis de un boli bic
Análisis de un boli bic
Aprendamosconelmundial
Aprendamosconelmundial
Mapa conceptual diario (alerta de tsunami en chile)(l)
Mapa conceptual diario (alerta de tsunami en chile)(l)
Oportunidades negocio australia 11052016
Oportunidades negocio australia 11052016
UI design for open data V02 nov 2014
UI design for open data V02 nov 2014
Plan de Marketing Estratégico
Plan de Marketing Estratégico
ActivBoard: Troubleshooting Tips
ActivBoard: Troubleshooting Tips
The jorc code
The jorc code
Organizadores gráficos. Rutinas de pensamiento
Organizadores gráficos. Rutinas de pensamiento
Propuesta diplomado pmp (1)
Propuesta diplomado pmp (1)
La Leche De Vaca
La Leche De Vaca
El reconocimiento de la diversidad afectiva sexual y familiar. por j uan carl...
El reconocimiento de la diversidad afectiva sexual y familiar. por j uan carl...
Autonomacion (2)
Autonomacion (2)
Similar a Perl 6 Regex und Grammars
Perl 5 Quiz Chemnitz Edition
Perl 5 Quiz Chemnitz Edition
lichtkind
Ruby on Rails SS09 03
Ruby on Rails SS09 03
Daniel Dengler
Von Automaten zu Programmen–Parsergeneratoren und Attributgrammatiken
Von Automaten zu Programmen–Parsergeneratoren und Attributgrammatiken
Tim Furche
Reguläre Ausdrucke (PCRE)
Reguläre Ausdrucke (PCRE)
Dominik Siebel
Pyparsing
Pyparsing
Andreas Schreiber
Perl - die Taschenkettensäge unter den Programmiersprachen - Vortrag 2003
Perl - die Taschenkettensäge unter den Programmiersprachen - Vortrag 2003
Brigitte Jellinek
Ruby on Rails SS09 04
Ruby on Rails SS09 04
Daniel Dengler
Software-Tests automatisch erzeugen: Frische Ansätze für Forschung, Praxis un...
Software-Tests automatisch erzeugen: Frische Ansätze für Forschung, Praxis un...
CISPA Helmholtz Center for Information Security
Abap 7.02 new features - neue stringfunktionen
Abap 7.02 new features - neue stringfunktionen
Cadaxo GmbH
Regular Expressions - eine Einführung
Regular Expressions - eine Einführung
Brigitte Jellinek
Php Schulung
Php Schulung
Christian Münch
Wundertüte Perl
Wundertüte Perl
lichtkind
Battle of the Languages: Java und Python im Wettstreit beim Lösen von Program...
Battle of the Languages: Java und Python im Wettstreit beim Lösen von Program...
gedoplan
02.EinfacheProgramme und grundsymbole von
02.EinfacheProgramme und grundsymbole von
FlorianHorner
Dev Day 2019: Mirko Zeibig – "Hallo " <> "Elixir"
Dev Day 2019: Mirko Zeibig – "Hallo " <> "Elixir"
DevDay Dresden
Web Entwicklung mit PHP - Teil 1
Web Entwicklung mit PHP - Teil 1
Hans-Joachim Piepereit
Lehmanns Rails Erweitern
Lehmanns Rails Erweitern
jan_mindmatters
nagiosplugin - eine Python-Bibliothek für Monitoring-Plugins
nagiosplugin - eine Python-Bibliothek für Monitoring-Plugins
Christian Kauhaus
Tech Talk: Groovy
Tech Talk: Groovy
mwie
Tech Talk: Pyparsing
Tech Talk: Pyparsing
schlauch
Similar a Perl 6 Regex und Grammars
(20)
Perl 5 Quiz Chemnitz Edition
Perl 5 Quiz Chemnitz Edition
Ruby on Rails SS09 03
Ruby on Rails SS09 03
Von Automaten zu Programmen–Parsergeneratoren und Attributgrammatiken
Von Automaten zu Programmen–Parsergeneratoren und Attributgrammatiken
Reguläre Ausdrucke (PCRE)
Reguläre Ausdrucke (PCRE)
Pyparsing
Pyparsing
Perl - die Taschenkettensäge unter den Programmiersprachen - Vortrag 2003
Perl - die Taschenkettensäge unter den Programmiersprachen - Vortrag 2003
Ruby on Rails SS09 04
Ruby on Rails SS09 04
Software-Tests automatisch erzeugen: Frische Ansätze für Forschung, Praxis un...
Software-Tests automatisch erzeugen: Frische Ansätze für Forschung, Praxis un...
Abap 7.02 new features - neue stringfunktionen
Abap 7.02 new features - neue stringfunktionen
Regular Expressions - eine Einführung
Regular Expressions - eine Einführung
Php Schulung
Php Schulung
Wundertüte Perl
Wundertüte Perl
Battle of the Languages: Java und Python im Wettstreit beim Lösen von Program...
Battle of the Languages: Java und Python im Wettstreit beim Lösen von Program...
02.EinfacheProgramme und grundsymbole von
02.EinfacheProgramme und grundsymbole von
Dev Day 2019: Mirko Zeibig – "Hallo " <> "Elixir"
Dev Day 2019: Mirko Zeibig – "Hallo " <> "Elixir"
Web Entwicklung mit PHP - Teil 1
Web Entwicklung mit PHP - Teil 1
Lehmanns Rails Erweitern
Lehmanns Rails Erweitern
nagiosplugin - eine Python-Bibliothek für Monitoring-Plugins
nagiosplugin - eine Python-Bibliothek für Monitoring-Plugins
Tech Talk: Groovy
Tech Talk: Groovy
Tech Talk: Pyparsing
Tech Talk: Pyparsing
Más de lichtkind
Perl 6 in Context
Perl 6 in Context
lichtkind
Wx::Perl::Smart
Wx::Perl::Smart
lichtkind
Complete Programming
Complete Programming
lichtkind
P6 OO vs Moose (&Moo)
P6 OO vs Moose (&Moo)
lichtkind
P6oo
P6oo
lichtkind
Writing Perl 6 Rx
Writing Perl 6 Rx
lichtkind
Perl 6 Datastructures
Perl 6 Datastructures
lichtkind
Perl 6 Datenstrukturen
Perl 6 Datenstrukturen
lichtkind
Document Driven Development
Document Driven Development
lichtkind
Modern wx perl
Modern wx perl
lichtkind
Bettereditors
Bettereditors
lichtkind
Hgit
Hgit
lichtkind
Was können wir von Rebol lernen?
Was können wir von Rebol lernen?
lichtkind
Neuperl6
Neuperl6
lichtkind
Perl Testing
Perl Testing
lichtkind
Perl in der Wiki
Perl in der Wiki
lichtkind
What is Kephra about?
What is Kephra about?
lichtkind
What we can learn from Rebol?
What we can learn from Rebol?
lichtkind
Más de lichtkind
(18)
Perl 6 in Context
Perl 6 in Context
Wx::Perl::Smart
Wx::Perl::Smart
Complete Programming
Complete Programming
P6 OO vs Moose (&Moo)
P6 OO vs Moose (&Moo)
P6oo
P6oo
Writing Perl 6 Rx
Writing Perl 6 Rx
Perl 6 Datastructures
Perl 6 Datastructures
Perl 6 Datenstrukturen
Perl 6 Datenstrukturen
Document Driven Development
Document Driven Development
Modern wx perl
Modern wx perl
Bettereditors
Bettereditors
Hgit
Hgit
Was können wir von Rebol lernen?
Was können wir von Rebol lernen?
Neuperl6
Neuperl6
Perl Testing
Perl Testing
Perl in der Wiki
Perl in der Wiki
What is Kephra about?
What is Kephra about?
What we can learn from Rebol?
What we can learn from Rebol?
Perl 6 Regex und Grammars
1.
Perl 6 Regex
2.
Perl 6 Data
Structures
3.
Schlaraffenland
4.
Heiliger Gral
5.
Schönheit Und Struktur
6.
Voll Gepackt
7.
Voll Gepackt
8.
Vorsicht Denglisch !
9.
Voll Gepackt
10.
Keine Sorge :Perl5
11.
Modifikator am Anfang
m :P5 //
12.
Alles wie bei
Mama
13.
Papa says We put
the ”regular” back into expression.
14.
Was bleibt ?
15.
Was bleibt ?
Capturing: (…) Escape: Modifikatoren: i, g Quantifier: *, +, und ? Alternativen: | match Var.: $/ min. matching Suffix: ??, *?, +?
16.
Vorsicht Falle
17.
Vorsicht Falle
. /smex [-] //
18.
Any Char
.
19.
Any Char N ist
der alte .
20.
Any Char N ist
der alte . Gegenteil von n
21.
Any Char N ist
der neue . Gegenteil von n seit 5.12
22.
Any Char
N ist der alte . Punkt meint ”any char”
23.
Any Char
24.
Any Char
25.
Any Char
26.
Kein ”multi line
mode” kein /.../s und /.../m
27.
Kein ”multi line
mode” kein /.../s und /.../m ^ ^^
28.
Kein ”multi line
mode” kein /.../s und /.../m ^ ^^ $ $$
29.
Leerzeichen immer noch s
30.
Leerzeichen immer noch s
h | v
31.
Leerzeichen
immer noch s h | v horizontal | vertikal
32.
Leerzeichen
immer noch s h | v horizontal = leer + tabs
33.
Oder oder oder?
| ||
34.
Oder oder oder?
| || 'sub' | 'substr'
35.
Oder oder oder?
| || 'sub' | 'substr' 'substr' gewinnt
36.
Oder oder oder?
| || 'sub' || 'substr'
37.
Oder oder oder?
| || 'sub' || 'substr' 'sub' gewinnt
38.
Regex Metachar ^
^^ $ $$ | || & . ** % %% := # (+Klammern)
39.
Regex Metachar ^
^^ $ $$ | || & . ** % %% := # (+Klammern)
40.
Regex Metachar ^
^^ $ $$ | || & . ** % %% := # (+Klammern)
41.
Regex Metachar ^
^^ $ $$ | || & . ** % %% := # (+Klammern)
42.
Quantifikatoren ?
+ * ** **? ** % %%
43.
Quantifikator ** '243' ~~
/d ** 2/
44.
Quantifikator ** '243' ~~
/d ** 2/ default to *
45.
Quantifikator ** '243'
~~ /d ** 2/ '243' ~~ /d ** 2..4/
46.
Quantifikator % '3,4,5' ~~
/d+ % ','/
47.
Quantifikator %% '3,4,5' ~~
/d+ % ','/ '3,4,5,' ~~ /d+ %% ','/
48.
Kein ”eval mode”
P5: s/.../.../e
49.
Kein ”eval mode”
P5: s/.../.../e P6: s/.../{...}/
50.
Kein ”eval mode”
P5: s/.../.../e P6: s/.../{...}/ s[...] = {…};
51.
Kein ”eval mode”
P5: s/.../.../ee P6: s/.../{ eval ...}/ s[...] = eval {…};
52.
Perl 6 Regex
kein /.../x
53.
Perl 6 Regex
kein /.../x ist Standard
54.
Eigene Zeichenklasse
P5: [a-m]
55.
Eigene Zeichenklasse
P5: [a-m] P6: <[a m]>]
56.
Bereiche Wie Überall
P5: [a-m] P6: <[a..m]>]
57.
Klammern in Regex Zeichenklasse
<[..]>] Block {..}
58.
Klammern in Regex Teilregex
(..), [..], <...> Zeichenklasse <[..]>] Block {..}
59.
Klammern in Regex
(?:pattern) => [pattern] (?<key>pattern) => $<key> = <pattern> (?{code}) => {code}
60.
Horror Vacui
61.
Horror Vacui
kein //
62.
Horror Vacui
kein // / <prior> /
63.
Horror Vacui
kein // / <prior> / / '' / aka / <?> /
64.
Teilfunde $1
65.
Teilfunde $1 =>
$0
66.
Teilfunde
$1 => $0 $0 => $*EXECUTABLE_NAME
67.
Teilfunde $1 =>
$0 kein 1 .. 9
68.
Teilfunde
$1 => $0 kein: L...E, U...E, Q...E
69.
Perl 6 Regex
$1 => $0 { lc …}, ...
70.
Teilfunde $1 =>
$0 $0 ..
71.
Teilfunde $1 =>
$0 $0 ..
72.
Teilfunde $1 =>
$0 $0 .. $15
73.
Teilfunde $1 =>
$0 @() == $0 ..
74.
Teilfunde $1 =>
$0 @() == $0 .. @()[1][2]
75.
Teilfunde $1 =>
$0 ( () (…) ) @()[0][1]
76.
Regex Variablen
$0 …, @() $/,
77.
Regex Variablen
$0 …, @() $/, $/<..>
78.
Regex Variablen
$0 …, @() $/, $/<..> $<..>
79.
Regex Variablen
$0 …, @() $/, $/<..> $<key> = (...)
80.
Operatoren
81.
Operatoren
rx//
82.
Operatoren
rx// Warum nicht qr // ?
83.
Operatoren
rx// Subsprache, ! Quoting
84.
Operatoren
rx// $~MAIN $~Q $~Regex
85.
Operatoren ~~
rx//
86.
Operatoren
~~ rx// m// ms// s/// ss/// tr///
87.
Operatoren
~~ rx// m// ms// s/// ss/// tr/// match comb subst trans
88.
Operatoren ms//
ss///
89.
Operatoren ms//
ss/// m :s // s :ss ///
90.
Operatoren :sigspace :samespace
m :s // s :ss ///
91.
Operatoren Leerzeichen trennen Wörter :sigspace
:samespace m :s // s :ss ///
92.
Modifikatoren :g
93.
Modifikatoren :g
:i :a :m
94.
Modifikatoren :g
:i :a :m :ii :aa :mm
95.
Modifikatoren
:g :i :a :m :x(n) :nth(n)
96.
Modifikatoren
:g :i :a :m :x(n) :nth(n) :c(n) :p(n)
97.
Modifikatoren
:g :i :a :m :x(n) :nth(n) :c(n) :p(n) :r :ov :ex :rw
98.
grammar Methoden
regex {..} token {..} rule {..}
99.
grammar Methoden
regex {..} token {..} regex :ratchet {} rule {..} regex :ratchet :sigspace {}
100.
grammar Methoden grammar webpage
{ rule TOP {<head> <body>} rule head {<meta>|<title>} … token title { <?after <title> .* <?before </title> }
101.
grammar Methoden grammar webpage
{ rule TOP {<head> <body>} rule head {<meta>|<title>} … token title { <?after <title> .* <?before </title> } $/<head><title>
102.
grammar sind Klassen
$~MAIN $~Q $~Regex
103.
What I Do perlfoundation.org/
perl6/index.cgi? perl_6_tablets
104.
Thank You
Descargar ahora