Examples of using Backslash in English and their translations into Chinese
{-}
-
Political
-
Ecclesiastic
-
Programming
Use the backslash to remove the special meaning.
To represent these in your text file, use\N(backslash, capital-N).
On Windows, both slash(/) and backslash(\) are used as path separator character.
Sometimes, there is an implicitassumption where you don't need to use a backslash.
When an n character occurs after a backslash, it is interpreted as a newline.
Sometimes, there is an implicitassumption where you don't need to use a backslash.
All other sequences starting with a backslash are illegal inside rune literals.
Sometimes, there is an implicitassumption where you dont need to use a backslash.
Backslash can be used to escape, use r can make the backslash not escape.
Consider how to write the pattern representing two words separated by a backslash(\w\\\w):.
Using the backslash also allows for copying and pasting of the above lines into a terminal window.
And when there's no special meaning: like\d or\z,then the backslash is simply removed.
Backslash substitution If a backslash("\") appears within a word then backslash substitution occurs.
If an asterisk(*) is actually needed in an answer,it should be entered as\*, backslash asterisk.
In addition, the backslash(\) can be used as a continuation character, indicating that the next line is a continuation of the previous line.
When reading file line by line alwaysuse read with the-r option to prevent backslash to act as an escape character.
(The notation“APL360″, since the backslash was the APL“expansion” operator, also had a hidden meaning:“APL expands the 360″).
If necessary, you can add an extra pair of parentheses around an expression,but sometimes using a backslash looks better.
There are, of course, situations where you want a backslash in a string to be just a backslash, not a special code.
There's an even simpler way to include values in strings: Write the value in parentheses,and write a backslash() before the parentheses.
Regular expressions use the backslash character('\') to indicate special forms or to allow special characters to be used without invoking their special meaning.
Because there may be up to 99 back references,all digits following the backslash are taken as part of a potential back reference number.
If you are unsure which decomposition to use, decomposition(A) chooses the correct type based on the properties of A,similar to what backslash does.
DOS was never based on Unix at all,which is why Windows uses a backslash for file paths while everything else uses a forward slash.