In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what are the qualifiers of C#". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn what are the qualifiers of C#.
Qualifier
The qualifier specifies how many instances of the previous element (which can be a character, group, or character class) must exist in the input string for a match to occur. Qualifiers include the language elements listed in the following table.
The following table lists the qualifiers:
The qualifier describes pattern matching * matching the last element zero or more times. \ d *.\ d ".0", "219.9" + matches the previous element one or more times. "bee" in "be+"been", "be" in "bent"? Match the last element zero or once. " Rai?n "" ran "," rain "{n} match the last element exactly n times." ,\ d {3} "1043.6" matches the last element at least n times in "9876543210". \ d {2,} "166,29", "1930" {n, m} match the last element at least n times, but not more than m times. " "17668", "19302" * in "193024"? Match the previous element zero or more times, but as few times as possible. \ d ".0", "19.9", "219.9" +? Match the previous element one or more times, but as few times as possible. "be" in "be+?"been", "be" in "bent"? Match the previous element zero or once, but as few times as possible. "rai??n"ran", "rain" {n}? Match the leading element exactly n times. ",\ d {3}?" 043 "in" 1043.6 "," 876 "," 543 "and" 9876543210 "{n,}? Match the previous element at least n times, but as few times as possible. "\ d {2,}?" 166", "29" and "1930" {n, m}? The number of matches to the previous element is between n and m, but as few times as possible. "17668", "17668" and "024" in "193024". I believe you have a better understanding of "what are the qualifiers of C #". You might as well do it in practice! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.