🍥 regular tip

    🍥 regular tip \B and b

    First understand that w matches letters or numbers or underscores or Chinese characters (excluding spaces)

    • \b The boundary of a word is that there can only be one character ( w) on the left and right, such as n There are two characters in total. In fact, there are three positions: space, b, letter
    • \B A non word boundary is not a character twice or both sides are characters. such as go , it looks like two characters, but it is actually three positions of letter, B, and letter

    Example: If yes hi There are actually 8 positions: space, B, space, b, letter, B, letter, b

    🍥 regular tip https://cloud.tencent.com/developer/article/1833698

    • ?= ?<= ?! ?<!

      • Forward looking:

      exp1( ?= Exp2) Find exp1 before exp2

      • Look back:

      ( ?<= Exp2) exp1 Find exp1 after exp2

      • Negative foresight:

      exp1( ?! Exp2) Find exp1 that is not followed by exp2

      • Negative looking back:

      ( ?<! Exp2) Exp1 Find exp1 not preceded by exp2

    • ?: Non capture grouping. Sometimes we need to represent a whole, but do not want it to occupy a member of the regular matching result, we can use this, for example, if we want to match a string foo You can write/(?: foo) {1,2} if the substring is once or twice, but you do not need to record this group/
contact information

About me

  • I come from a small city in the south. I have a quiet personality and hate going with the tide.

That year today
Before March

👍

Before October

This article is private and only visible to the publisher

Before 14 months

📝📝📝📝📝㈖㈖㈖㈖㈖㈖㈖㈖㈖㈖漾漾漾漾㈖㈖. He has worked in Beijing for 4 years. After a meal, I went to KTV. There are so many people in the shopping malls, and I have not been to such shopping malls or cinemas for more than 6 months. After parting, I went to the barber shop again. The last time was two months ago. This time, it was obvious that there were many people in the barber shop. Two old ladies had their hair permed. I still went to the barber shop in a rental community. Since the price of the shop has risen after the decoration, I feel that the hairdressing skill has become worse... (The same person) I don't know what's going on. Maybe next time I won't go there again. Few pedestrians wear masks on the road. Most of the shopping malls still wear masks. I'm used to wearing masks when I go out On Sunday, I mainly solved the problems that had not been solved during the working day last week, but I was very happy to solve them. To solve the problem, we can't rely on guessing. We need to go deep into the underlying code, although it's really painful. The weekend is over again.

Before 15 months

"It can't be described as happy or unhappy. I just want to live more intensely."

Before 16 months

In the morning, I dreamt that the code I submitted had compilation problems again. I was found by others and woke up

18 months ago

📝📝📝📝📝㈖㈖㈖㈖㈖㈖㈖㈖㈖㈖㈖㈖㈖㈖㈖. And the amount of activity is almost to go downstairs to take delivery. The community was sealed from last weekend until this afternoon. When there is no unsealing, every take away meal should be taken from the gate of the community. And avoid being taken away by others. After ordering takeout, always pay attention to the route of the rider, and go down at about 500m. There will also be times of uncertainty, because even if the distance is 300m, the riders may be in other nearby communities The temperature in Beijing is getting colder and colder, and today it is windy again. Supermarkets in the community are closed. It is estimated that they can open tomorrow. The delivery fees of stores outside the community are becoming more and more expensive. Usually, the price is 0 yuan, but now it is 15 or 18 yuan. There are also some supermarkets with low delivery fees that lack sufficient transportation capacity. In general, because the efficiency at home is lower, although we try to maintain the same work and rest as in the company (getting up, eating, lunch break), we need more work time to finish the same work. Now the house is about to expire, and we have to start looking for a new house.

Before 19 months

The weather in Beijing is getting colder and colder. In this colder and colder weather, come to listen to this furry φ (\\\\\\\\\\\\\\\\\\\) song

20 months ago

📝📝📝📝📝㈖㈖㈖㈖㈖㈖㈖㈖ Daily record is about to celebrate the National Day. I have no idea where to play on the National Day. Don't think about overtaking on the National Day curve Learn more about National Day, and never overtake successfully. I don't want to waste my first National Day holiday after graduation