Language & Regular Expressions Flashcards
What is a basic Regex scenario?
What are the different applications of language and regular expression?
- Processing data - sequences or strings
- Pattern matching in databases
- Text searching
- Checking inputs for conformity for compilers and grammar parsing
Example Applications
- Search and replace in text including programs
- Searching in gene/protein sequence databases
What is the basic set notation - Element of…
What is the basic set notation - Not an element of….
What is the basic set notation - (proper) subset of…
What is the basic set notation - Not a (proper) subset of…
What is the basic set notation - Subset and equal to
What is the basic set notation - Proper subset of
What is the basic set notation - Union / ‘OR’
What is the basic set notation - Intersection / ‘AND’
What is the basic set notation - Not A
What is the basic set notation - Empty Set {}
What is the basic set notation - Cardinality (Size) of set A
What are the basic set rules?
What is the theory of formal languages?
- Certain letters form certain sentences which form certain paragraphs which form coherent stories
- Spoken languages are difficult to analyse
- Most universal language structure
- Rules for the lang are explicitly stated
- In terms of what strings of symbols can occur