answersLogoWhite

0

What are regular expressions?

Updated: 7/7/2022
User Avatar

Wiki User

14y ago

Best Answer

py4everybody regular expression answers autograde 11.2

User Avatar

S

Lvl 2
1y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are regular expressions?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you use regular expression in web mining?

Regular expressions can be used to find patterns within data. Beyond that the subject of Regular expressions gets extremely complicated very fast, I suggest you purchase a book on the subject and read it... twice.. http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124/ref=sr_1_1?ie=UTF8&qid=1345423498&sr=8-1&keywords=regular+expressions


How can you use the OR condition in PHP validation in regular expressions?

You use instead of OR


Can you use Perl regular expressions in PHP?

Yes, by using the preg_match() function


What is relation between regular languages finite automaton and regular grammars?

finite automaton is the graphical representation of language and regular grammar is the representation of language in expressions


What is the difference between transition graph and generalized transition graph?

A generalized transition graph is a transition graph whose edges are labeled with regular expressions; otherwise it is same as the usual transition graph. source: Introduction to Formal Languages and Automata by Peter Linz , Regular expressions and regular languages, page 81


Is there is any function or class in Java to check inputed string is valid char sequence and no numbers or any special char are there?

You should probably use regular expressions. For example, the following will check that the String s has only English (Latin) characters in it:boolean hasOnlyLatin = s.matches("^[a-zA-Z]*$");Learning to use regular expressions is scary at first, but worthwhile. See the related links for some information about regular expressions in Java.


What is the use of regular expression?

Regular expressions are useful in the production of syntax-highlightingsystems, data-validation, and many other tasks.While regular expressions would be useful on search-engine-computingsuch as google, processing them across the entire database could consume excessive computer resources depending on the complexity and design of the regex. Although in many cases system administrators


What is better Finite Automata or Regular Expression?

Finite Automata and Regular Expressions are equivalent. Any language that can be represented with a regular expression can be accepted by some finite automaton, and any language accepted by some finite automaton can be represented by a regular expression.


Describe how lexical analyzer generators are used to translate regular expressions into deterministic finite automata?

Lexical analyzer generators translate regular expressions (the lexical analyzer definition) into finite automata (the lexical analyzer). For example, a lexical analyzer definition may specify a number of regular expressions describing different lexical forms (integer, string, identifier, comment, etc.). The lexical analyzer generator would then translate that definition into a program module that can use the deterministic finite automata to analyze text and split it into lexemes (tokens).


How do you use regular expressions in PHP?

Use the preg functions (ereg functions are deprecated) Wiki regex to form your regex string


What is 13n7n 24?

Two expressions. Two expressions. Two expressions. Two expressions.


How are physics and mathematics numbers different?

They're not. Numbers and the math that manipulates them are fundamentally tools to model and describe the physical world. Thus, mathematics is the language of physics. You might as well ask "How are the words of languages different from the words of the world." regular mathematics uses variables that have different meanings in different expressions and situations than in regular arithmetic expressions.