Size: a a a

2018 December 20

c

conformíst in UbuntuLinux
ну он показал имена и фамилии через пробел
источник

R.

ReFea'IM[e] ... in UbuntuLinux
conformíst
ну он показал имена и фамилии через пробел
Не было бы валидным:
s/*\s*/"first_name" = "\1"...
источник

R.

ReFea'IM[e] ... in UbuntuLinux
?
источник

c

conformíst in UbuntuLinux
а группы где?
источник

R.

ReFea'IM[e] ... in UbuntuLinux
conformíst
а группы где?
А они нужны?
источник

c

conformíst in UbuntuLinux
а не нужны?
источник

R.

ReFea'IM[e] ... in UbuntuLinux
conformíst
а не нужны?
Затем тебя и спрашиваю.
источник

R.

ReFea'IM[e] ... in UbuntuLinux
Как бы почему именно такая регулярка.
источник

c

conformíst in UbuntuLinux
ну как бы ты определяешь, что в группе будет
источник

c

conformíst in UbuntuLinux
* это квантификатор
источник

c

conformíst in UbuntuLinux
без символа не имеет значения
источник

R.

ReFea'IM[e] ... in UbuntuLinux
То есть [[]] задает группу?
источник

c

conformíst in UbuntuLinux
[[:something😏]  это такие регулярки в баше
источник

R.

ReFea'IM[e] ... in UbuntuLinux
Ну нахуй.
awk чаще требуется...
источник

R.

ReFea'IM[e] ... in UbuntuLinux
Еще sed блять учить.
источник

c

conformíst in UbuntuLinux
posix character classes
источник

c

conformíst in UbuntuLinux
Some versions of sed, ed, and ex support escaped versions of the extended Regular Expressions described above, as do the GNU utilities.

POSIX Character Classes. [:class:]

This is an alternate method of specifying a range of characters to match.

[:alnum:] matches alphabetic or numeric characters. This is equivalent to A-Za-z0-9.

[:alpha:] matches alphabetic characters. This is equivalent to A-Za-z.

[:blank:] matches a space or a tab.

[:cntrl:] matches control characters.

[:digit:] matches (decimal) digits. This is equivalent to 0-9.

[:graph:] (graphic printable characters). Matches characters in the range of ASCII 33 - 126. This is the same as [:print:], below, but excluding the space character.

[:lower:] matches lowercase alphabetic characters. This is equivalent to a-z.

[:print:] (printable characters). Matches characters in the range of ASCII 32 - 126. This is the same as [:graph:], above, but adding the space character.

[:space:] matches whitespace characters (space and horizontal tab).

[:upper:] matches uppercase alphabetic characters. This is equivalent to A-Z.

[:xdigit:] matches hexadecimal digits. This is equivalent to 0-9A-Fa-f.
источник

R.

ReFea'IM[e] ... in UbuntuLinux
Какой ужас.
источник

R.

ReFea'IM[e] ... in UbuntuLinux
PCRE чаще пригождаются.
источник

c

conformíst in UbuntuLinux
у них свои, да
источник