answersLogoWhite

0

What is the period used for in a regular expression?

Updated: 8/18/2019
User Avatar

Wiki User

11y ago

Best Answer

to stop a sentence

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the period used for in a regular expression?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is difference between regular expression and regular definition in compiler?

Regular expression is built in and the regular definition has to build from regular expression........


What is used to to designate the transition phase between regular menstrul period and no period at all is?

Perimenopausal


What is the application of regular expression in compiler construction?

Regular Expression is another way of implementing a lexical analyzer or scanner.


py4everybody regular expression answers autograde?

py4everybody regular expression answers auto grader chapter 11.2


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.


What is regular expressions?

In programming, a regular expression is an expression that explains a pattern for a string. A string matches a regular expression if that string follows the pattern of that regular expression. For example, you may want to create an account system, allowing usernames to only have uppercase and lowercase letters, and numbers. While a user is registering, you can check their desired username against a regular expression involving only alphanumeric characters (A-Z, a-z, 0-9). If it matches, then the username is valid to your requests. If it does not, the user has put in a character that does not follow the pattern of the regular expression. In regular expressions, you can match certain characters, match a certain quanity of characters, match the casing of characters (or just ignore it overall), and plenty more. The syntax of a regular expression varies throughout every programming language, but Perl is often used due to its wide variety of options. Perl is also incorporated into many web languages, such as PHP, making regular expressions less of a hassle. This is an example of a Perl regular expression, allowing a string with only alphanumeric characters (any character case), and an infinite length (except for a string with no length or no characters, in which the regular expression does not match the string): /^(?i)[a-z0-9]+$/


What are regular expressions?

py4everybody regular expression answers autograde 11.2


What is a regular expression?

In programming, a regular expression is an expression that explains a pattern for a string. A string matches a regular expression if that string follows the pattern of that regular expression. For example, you may want to create an account system, allowing usernames to only have uppercase and lowercase letters, and numbers. While a user is registering, you can check their desired username against a regular expression involving only alphanumeric characters (A-Z, a-z, 0-9). If it matches, then the username is valid to your requests. If it does not, the user has put in a character that does not follow the pattern of the regular expression. In regular expressions, you can match certain characters, match a certain quanity of characters, match the casing of characters (or just ignore it overall), and plenty more. The syntax of a regular expression varies throughout every programming language, but Perl is often used due to its wide variety of options. Perl is also incorporated into many web languages, such as PHP, making regular expressions less of a hassle. This is an example of a Perl regular expression, allowing a string with only alphanumeric characters (any character case), and an infinite length (except for a string with no length or no characters, in which the regular expression does not match the string): /^(?i)[a-z0-9]+$/


What are terms of an expression?

I think term of an expression is a long period of problem


What is the period used for in Linux regular expressions?

a period means 'any single character'. A period followed by an asterisk means 'zero or more characters'.


Why do regular expressions have not enough power to express syntax of programming languages?

Because programming languages contain recursive structure, which cannot be represented by a regular expression.To give an example, most computer programs will have arithmetic expressions with matched parentheses:E --> FE --> E operator FF --> numberF --> lparen E rparenThis very simple grammar cannot be represented by a regular expression.Proof:Suppose that there were a regular expression for a language of matched parentheses. Let the length of the regular expression be m. Consider the string (m+1)m+1. This is in the language. Since the first half of the string is longer than the regular expression itself, it must avail of a star somewhere in the first half. Suppose this star was used to repeat n times a substring of length k. The same regular expression could be used to represent a similar string in which the substring of length k was repeated n+1 times. This means that the regular expression would also match the string (m+1+k)m+1 which is not in the language. Thus, the assumption that the language could be represented by a regular expression is false.


When you stop taking your birth control pills and u have a period is that a regular period or a pill period?

regular