1. Regular expressions with letters, numbers, and underscores that cannot be preceded and terminated by an underscore: ^ (?!) _)(?!. *?_$) [a-za-z0-9_]+$ only letters and numbers: ^[a-za-z0-9_]+$ 2. At least one Chinese character, number, letter, underline: [a-za-z0-9_\u4e00-\u9fa5]+ 3. A regular expression of at least one Chinese character: "^[\u4e00-\u9fa5]"
example, ' [ABC] ' can match ' a ' in ' plain '
[^XYZ]
Negative character set combination. Matches any characters that are not included. For example, ' [^ABC] ' can match ' P ' in ' plain '
[A-z]
The range of characters. Matches any character within the specified range. For example, ' [A-z] ' can match any lowercase alphabetic character in the range ' a ' to ' Z '
[^a-z]
Negative character range. Matches any character that is not in the specified
match ' a ' in ' plain '
[^XYZ]
Negative character set combination. Matches any characters that are not included. For example, ' [^ABC] ' can match ' P ' in ' plain '
[A-z]
The range of characters. Matches any character within the specified range. For example, ' [A-z] ' can match any lowercase alphabetic character in the range ' a ' to ' Z '
[^a-z]
Negative character range. Matches any character that is not in the specified range. For example, ' [
.
Basic game development knowledge: programming + 3D mathematics + AI + demoGetting startedthere are plenty of books and websites that will guide you through the intricacies of DirectX, xNa (. net and Xbox 360) or the Open Source SDL and before long you'll be a guru on vertex shaders etc. you will have to be prepared to work long, in some case very long hours especially as deadlines approach. it is quite a tough business-when a game is under developme
"You are the controller ." (You are the controller.) If you are interested in Kinect, I believe you have heard of this powerful advertisement word. From Kinect Adventures! In the Zune play interface, the hands and feet and plugging the water holes, waved to change the song, the Kinect opened a more natural way of entertainment interaction. In this blog article, I will reveal the secrets behind this somatosensory system and how it allows developers to create a Kinect experience. Arjun Dayal, the
Framework variants, such as Silverlight in Windows Phone 7,xbox 360 and in the browser, have a slightly different configuration (profile).
Now you can use it on every major operating system, phone, mobile device, embedded system or server. NET technology, the following is a list of various implementations of the CLI, although not complete, but should be able to cover 99% of the situation:
Computers based on x86 and x86-64:
icon, it is found to switch to the start screen, it seems that the desktop "start icon" only to point to the Start screen, the Start menu is gone forever.
Click "Start button" to switch back and forth between the desktop and the Start screen
Start screen change to move up and down
There is a change in the start screen, unlike before the Win8 start screen is moved around by sliding the slide bar below to view the application and now it is moving up and down. The upper screen is a
number: ^-([1-9]\d*\.\d*|0\.\d*[1-9]\d*) $ or ^ (-([0-9]+\.[ 0-9]*[1-9][0-9]*) | ([0-9]*[1-9][0-9]*\. [0-9]+) | ([0-9]*[1-9][0-9]*))] $19 Floating-point numbers: ^ (-?\d+) (\.\d+)? $ or ^-? ([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0) $
Second, the expression of the checksum character
1 Chinese characters: ^[\u4e00-\u9fa5]{0,}$2 English and digital: ^[a-za-z0-9]+$ or ^[a-za-z0-9]{4,40}$3 All characters of len
Verify user password: ^ [a-zA-Z] \ w {5, 17} $ the correct format is: it must start with a letter and be between 6 and 18 characters. it can only contain characters, numbers, and underscores.
Verification Number: ^ [0-9] * $
Verify the n-digit number: ^ \ d {n} $
Verify at least n digits: ^ \ d {n,} $
Verify m-n digits: ^ \ d {m, n} $
Verify the number starting with zero or zero: ^ (0 | [1-9] [0-9] *) $
Verify the positive number of two decimal places
Verification Number: ^[0-9]*$To verify N-bit numbers: ^\d{n}$Verify that at least n digits: ^\d{n,}$Verify the number of m-n bits: ^\d{m,n}$Verify numbers starting with 0 and non 0: ^ (0|[ 1-9][0-9]*) $Verify that there is a positive real number with two decimal places: ^[0-9]+ (. [ 0-9]{2})? $Verify that there is a positive real number with 1-3 decimal places: ^[0-9]+ (. [ 0-9]{1,3})? $Verify non-zero positive integers: ^\+? [1-9] [0-9]*$To verify a nonzero negative integer: ^\-[1-9][0-9]*$Vali
global match (finds all matches rather than stops after the first match is found).m to perform multiple line matchesThe role of regular expressions
Typically used for two tasks:
1. VerifyWhen used for validation, it is usually necessary to add ^ and $ separately before and after to match the entire string to be validated;
2. Search replacementIf the search/replace is combined with this qualification, depending on the requirements of the search, in addition, it is possible to add \b instead o
Usually do the site to use regular expression, the following is a number of explanations and examples, only for everyone to reference and modify the use of:
"^\d+$"//non-negative Integer (positive integer + 0)"^[0-9]*[1-9][0-9]*$"//Positive integer"^ ((-\d+) (0+)) $"//non-positive integer (negative integer + 0)"^-[0-9]*[1-9][0-9]*$"//Negative integer"^-?\d+$"//Integer"^\d+ (\.\d+)? $"//nonnegative floating-point number (positive float + 0)"^ ([0-9]+\. [0-9]*[1-9][0-9]*) ([0-9]*[1-9][0-9]*\.[ 0-9
" a "or" B "(equivalent to" a¦b ");
" [ A-D] ": Indicates a string containing a lowercase ' a ' to ' d ' of one (equivalent to" a¦b¦c¦d "or" [ABCD] ");
" ^[a-za-z] ": A string that begins with a letter;
" [0-9]% " : A number that represents one digit before a percent semicolon;
", [a-za-z0-9]$": Indicates that a string ends with a comma followed by a letter or a number.
You can also use ' ^ ' in square
Win10 video recording shortcut tool Win10 screen recording game video, recording win10
Windows 10 official version has been released for some time. Many new features of win10 are recommended. One of them is how to use the game video recording tool that comes with Win10. The Windows 10 system has a built-in xbox App Store, which not only allows you to directly download the xbox app, but also stream with the
Microsoft Build released a number of feature upgrades at the 2016 Developer Conference. build 2016
The Microsoft Build 2016 Developer Conference was opened at the moskon Exhibition Center in San Francisco. This Conference has improved some key functions. For example, writing pen support technology Windows Ink, speech recognition Cortana application set (Cortana Collection), biometrics technology Windows Hello support Edge browser, and general application platform (UWP) extended to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.