N soft carriage return: in Windows, it indicates a line break and returns to the start position of the next line. It is equivalent to the r effect in MacOS. In Linux and unix, it only indicates line breaks, but does not return to the starting position of the next line. R Soft Space: in Linux and unix, it indicates that the first position of the row is returned. Indicates a line break in MacOS and returns it to the most of the next line.
\ N soft carriage return: indicates a line break in Windows and returns to the start position of the next line. It is equivalent to \ r in Mac OS. In Linux and unix, it only indicates line breaks, but does not return to the starting position of the next line. \ R Soft Space: in Linux and unix, it indicates to return to the initial position of the row. In Mac OS, it indicates a line break and returns to the most of the next line.
\ N soft carriage return:
In Windows, it indicates a line break and returns to the starting position of the next line. It is equivalent to \ r in Mac OS.
In Linux and unix, it only indicates line breaks, but does not return to the starting position of the next line.
\ R Soft Space:
In Linux and unix, return to the starting position of the row.
In Mac OS, line breaks are displayed and returned to the start position of the next line, which is equivalent to \ n in Windows.
\ T hop (move to the next column ).
They are expressed in double quotation marks or delimiters.CharacterValid in strings, expressed in single quotesCharacterThe string is invalid.
\ R \ n is generally used together to represent the carriage return key on the keyboard. \ n can also be used only.
\ T indicates the "TAB" key on the keyboard.
Just like the difference between using enter and shift + enter, if you want to display the effect on the page, you need to convert it to HTML code or use...
Line feed characters in the file:
Linux, unix: \ r \ n
Windows: \ n
Mac OS: \ r
Corresponding:
"\ N" => line feed
"\ R" => enter
"\ T" => horizontal Tab
"\" => Backslash
"\ $" ==> Dollar sign
"\ '" => Single quotes
"\" "=> Double quotation marks
"\ [0-7] {1, 3}" Regular Expression matches an octal symbolCharacter
"\ X [0-9A-Fa-f] {1, 2}" Regular Expression matchesCharacter