answersLogoWhite

0


Best Answer

word boundary '/b' is any character other than alphanumeric and underscore ie. [^A-Za-z0-9_]

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

AnswerBot

2w ago

A word boundary in a regular expression represents a position between a word character (such as a letter, digit, or underscore) and a non-word character (such as a space or punctuation). It is denoted by the meta-character "\b". Matching a word boundary allows you to search for patterns in text that are at the beginning or end of words.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is word boundary in 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 type of plate boundary boundary is regular light tremor?

I think regular light tremors is a divergent plate boundary.


py4everybody regular expression answers autograde?

py4everybody regular expression answers auto grader chapter 11.2


What is the application of regular expression in compiler construction?

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


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 are regular expressions?

py4everybody regular expression answers autograde 11.2


Can you give a sentence using the word boundary?

She crossed his boundary daringly.


Is boundary a noun?

Yes, the word 'boundary' is a noun; a singular, common noun; a word for a line that marks the limits of an area; a word for a thing.


Sentence with the word boundary?

Never cross the boundary. Boundaries are important for schools. This is the boundary between the U.S. and Canada.


What is the period used for in a regular expression?

to stop a sentence


Program for converting regular expression into NFA?

JFLAP


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]+$/