Common shell: -------------- from "laruence's Linux private dish"
In the early UNIX era, there were many developers, so shell had many versions based on the developer's differences, such
Frequently heard Bourne shell (SH ),C shell,Commonly used
transfer character meaning:
serial number, for example, \ D [0-9] numeric character \ D [^ 0-9] Except for any number character \ s [\ s \ t \ n \ f blank character \ s [^ \ s \ t \ n \ f] any character except blank character \ W [A-Za-z0-9 _]
[...] Match any character in brackets
[^...] Match any character not in parentheses
\ W matches any one character (a-Z, A-Z and 0-9)
\ W matches any blank character
\ S matches any non-blank character
\ S matches any non-word characters
\
The white-space attribute sets how to process the white space in the element.
This attribute declares how to process the blank characters in the element during layout creation. Values pre-wrap and pre-line are newly added in CSS 2.1.Possible Value
1. grep Introduction
Grep (Global Search regular expression_r (re) and print out the line, fully search for regular expressions and print rows) is a powerful text search tool, it can use regular expressions to search for text and print matching
Character
Meaning
\
In turn, that is, the characters after "\" are not interpreted as original meaning, such as/B/matching character "B ", when a backslash is added before B/\ B/, it is converted to match the boundary of a
PrefaceIn DOS, you may be engaged in some routine overwriting work. At this time, you will write these overwriting commands into batch files, you only need to execute this batch of files to execute these commands. You will ask if there is batch
Regular Expression
Regular Expressions are applicable in many scenarios. For example, verify whether the string matches the format, find the matched string, and replace the matched string.
Many programming languages support regular expressions
Regular Expression, Regular Expression
Basic Regular Expression
First line positioning character ^
Ls | grep ^ files starting with abc
Line tail locator $
Match a single character.
. Represents any character, except for line breaks
Regular Expression and PCRE function in PHP, php Regular Expression pcrePCRE
PHP uses two different Regular Expressions: PCRE (Perl-compatible notation, preg _ *) function and POSIX (POSIX extension notation, ereg _ *) function. Fortunately, POSIX
I just used teleport pro to pull a whole site to the local. All the superchains were forcibly added with tppabs = "... "the newly installed system and dreamweaver 8 have used the dw replacement function to search for the entire local site: source
1. regex (Regular Expression): RegularExpressions (instead of StringTokenizer); string processing tool; popular in unix, perl uses regex.It is mainly used for string matching, search, and replacement. For example, the matching IP address (with a
In the future, we will introduce the basic knowledge of regular expressions and their usage in MooTools.Before getting started, I 'd like to take a moment to see how string functions are called. In my example, I directly call this method on the
Css uses display: inline-block for layout,
Display of css: inline-block Layout
1. Several commonly used display attribute values, inline, block, and inline-block
Inline:
Block:
Inline-block:
Figure 1:Figure 2:
The two figures show that the
I. Introduction:Vim is an upgraded version of vi. It is the best version of vi for text editing. Vim is a modeled text editor that works with various editing commands to efficiently perform various text operations.
Ii. vim's three modes:1. insert
Line feed, text hidden ellipsis, text hidden ellipsis1. A line exceeds text hiding
Overflow: hidden;/* hide text automatically */text-overflow: ellipsis;/* Add ellipsis after text hiding */white-space: nowrap;/* force line breaks */
2. div displays
Concise Vim leveling strategy (transfer) and vim leveling strategy
Original article: http://coolshell.cn/articles/5426.html
Vim's learning curve is quite large (see the learning curve of various text editors). Therefore, if you see a lot of VIM
Python re module-Regular Expression operation, pythonre
This module provides regular expression matching operations similar to Perl l. Unicode strings also apply.
The regular expression uses the Backslash "\" to represent a special form or as an
1. Format: scanf ("Format String", address table );
Description: The Address Table is used to specify the address where all input values are saved.
2. knowledge points
1) % d integer
% F Float Type
% Lf Double Type
% G number after
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.