预学习

Before

伯克利EECS151 lab1-lab4

HDL bits 0-59题

2025-2-11

正式开始ysyx 预学习

2025-2-12

 

25-2-13

25-2-14

25-2-16

25-2-17

 

25-2-18

返校

25-2-19

25-2-20

25-2-21

25-2-22

25-2-23

 

25-2-24

25-2-25

25-2-26

25-2-27

25-2-28

25-3-1

25-3-3

25-3-4

25-3-5

正则表达式

Basic Characters

Character Classes

Repetitions

Whitespace

Anchors and Groups

Additionally, there is a special metacharacter \bwhich matches the boundary between a word and a non-word character. It's most useful in capturing entire words (for example by using the pattern \w+\b).

Posix meta character (Used in C, grep)

[:alnum:]:匹配任何字母数字字符(字母或数字)。

[:alpha:]:匹配任何字母字符。

[:digit:]:匹配任何数字字符。

[:lower:]:匹配任何小写字母字符。

[:upper:]:匹配任何大写字母字符。

[:space:]:匹配任何空白字符(空格、制表符、换行符等)。

[:punct:]:匹配任何标点符号字符。

为什么是双层方括号?

man 3 wctype

25-3-6

25-3-7

25-3-8

25-3-9

25-3-10

25-3-11

25-3-12

配环境。。。

25-3-13

25-3-14

25-3-15

25-3-16

25-3-16

25-3-18

25-3-19

25-3-20

25-3-21