SlideShare uma empresa Scribd logo
1 de 6
Gordon Morrison – A learningparserusingregularexpressions 1
GordonMorrison – A learningparser using regularexpressions.
March 15, 2016
Thisis a prototype of an interactive learningparserusingregularexpressions.
Processingdatausing regularexpressions:
The top widowcontainsthe datafile onthe leftandan ASCIIdisplayonthe rightof the same data.
The two windowsacrossthe middle are the dictionaryonthe leftandthe schemadata patternonthe
right.Both are sequencesof regularexpressions.The window acrossthe bottomdisplaysmessages and
there isa TSD DictionaryConsole where regularexpressionscanbe enteredforthe dictionary.
Gordon Morrison – A learningparserusingregularexpressions 2
Clickingthe arrowinthe toolbarbeginsthe parsingof the data. Whenthe data doesn’tmatchthe Data
Pattern(schema) thenanerror isreportedindicatingwhatwasfoundandif a suggestioncanbe made it
isindicated.The firstrowof data has Home followedbyatab thenthe name Arija.The exception
message indicatesatab (the blue HT inthe ASCIIsection) wasfoundanda ‘0D’ was expected.Sothis
data has an optional “tabspouse name”.
Selectthe ‘Tab’inthe Exceptionleavethe “InsertmatchedAFTERcurrentposition.Reparse.”ClickOK.
Gordon Morrison – A learningparserusingregularexpressions 3
The reparsingnowfindthe “A inArija”
Gordon Morrison – A learningparserusingregularexpressions 4
Scrollingdownselect“Spouse”asone of the suggestions inthe Exception,leave the “Insertmatched
AFTER currentposition.Reparse.”ClickOK.
Gordon Morrison – A learningparserusingregularexpressions 5
The parser nowfindsa CR afterworkwhenitwas expectinga“tab Spouse”.
Gordon Morrison – A learningparserusingregularexpressions 6

Mais conteúdo relacionado

Destaque (8)

Sapatas 1
Sapatas 1Sapatas 1
Sapatas 1
 
Atividades variadas
Atividades variadasAtividades variadas
Atividades variadas
 
Separating pacs-servers-from-vna
Separating pacs-servers-from-vnaSeparating pacs-servers-from-vna
Separating pacs-servers-from-vna
 
Hebrew-Free-Loan-2015-Annual-Report-1
Hebrew-Free-Loan-2015-Annual-Report-1Hebrew-Free-Loan-2015-Annual-Report-1
Hebrew-Free-Loan-2015-Annual-Report-1
 
La tecnologia en la sociedad contemporanea
La tecnologia en la sociedad contemporaneaLa tecnologia en la sociedad contemporanea
La tecnologia en la sociedad contemporanea
 
Synchronous machine design magnecti circuit design
Synchronous machine design magnecti circuit designSynchronous machine design magnecti circuit design
Synchronous machine design magnecti circuit design
 
Tic en el turismo
Tic en el turismoTic en el turismo
Tic en el turismo
 
Qualifications
QualificationsQualifications
Qualifications
 

Mais de Gordon Morrison

Mais de Gordon Morrison (12)

Extract Translae Load by-the-numbers
Extract Translae Load by-the-numbersExtract Translae Load by-the-numbers
Extract Translae Load by-the-numbers
 
Nist cosa-foundation v7
Nist cosa-foundation v7Nist cosa-foundation v7
Nist cosa-foundation v7
 
Black capped night heron v1
Black capped night heron v1Black capped night heron v1
Black capped night heron v1
 
Gordon morrison temporalengineering-delphi-v3
Gordon morrison temporalengineering-delphi-v3Gordon morrison temporalengineering-delphi-v3
Gordon morrison temporalengineering-delphi-v3
 
NIST COSA-Foundation Software
NIST COSA-Foundation SoftwareNIST COSA-Foundation Software
NIST COSA-Foundation Software
 
Meta edit calc execution v3
Meta edit calc execution v3Meta edit calc execution v3
Meta edit calc execution v3
 
Cosa movie v8 handout
 Cosa movie v8 handout Cosa movie v8 handout
Cosa movie v8 handout
 
It wasn’t the if-
It wasn’t the if-It wasn’t the if-
It wasn’t the if-
 
Cosa top down
Cosa top downCosa top down
Cosa top down
 
workflow in temporal state machine v1
workflow in temporal state machine v1workflow in temporal state machine v1
workflow in temporal state machine v1
 
A true state machine
A true state machineA true state machine
A true state machine
 
New Cosa Movie V8
New Cosa Movie V8New Cosa Movie V8
New Cosa Movie V8
 

Último

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 

Último (20)

Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 

Processing data using regular expressions

  • 1. Gordon Morrison – A learningparserusingregularexpressions 1 GordonMorrison – A learningparser using regularexpressions. March 15, 2016 Thisis a prototype of an interactive learningparserusingregularexpressions. Processingdatausing regularexpressions: The top widowcontainsthe datafile onthe leftandan ASCIIdisplayonthe rightof the same data. The two windowsacrossthe middle are the dictionaryonthe leftandthe schemadata patternonthe right.Both are sequencesof regularexpressions.The window acrossthe bottomdisplaysmessages and there isa TSD DictionaryConsole where regularexpressionscanbe enteredforthe dictionary.
  • 2. Gordon Morrison – A learningparserusingregularexpressions 2 Clickingthe arrowinthe toolbarbeginsthe parsingof the data. Whenthe data doesn’tmatchthe Data Pattern(schema) thenanerror isreportedindicatingwhatwasfoundandif a suggestioncanbe made it isindicated.The firstrowof data has Home followedbyatab thenthe name Arija.The exception message indicatesatab (the blue HT inthe ASCIIsection) wasfoundanda ‘0D’ was expected.Sothis data has an optional “tabspouse name”. Selectthe ‘Tab’inthe Exceptionleavethe “InsertmatchedAFTERcurrentposition.Reparse.”ClickOK.
  • 3. Gordon Morrison – A learningparserusingregularexpressions 3 The reparsingnowfindthe “A inArija”
  • 4. Gordon Morrison – A learningparserusingregularexpressions 4 Scrollingdownselect“Spouse”asone of the suggestions inthe Exception,leave the “Insertmatched AFTER currentposition.Reparse.”ClickOK.
  • 5. Gordon Morrison – A learningparserusingregularexpressions 5 The parser nowfindsa CR afterworkwhenitwas expectinga“tab Spouse”.
  • 6. Gordon Morrison – A learningparserusingregularexpressions 6