I have to constantly remind myself that I have therapy at 2:30. I forgot about it until I looked at the time and it’s noon now. It’s just basically slipping my mind that I have an appointment later. This is why I like morning appointments. I can get things done and not worry about the rest of the day. I will have to use my phone for today. My iPad is not syncing my email. I will have to work on that later. I’m coding right now and it’s hard to concentrate cause I need to keep in mind that I have therapy later. I can’t just focus on one thing and forget everything else. So yes, I’m journaling when I should be coding.
Doing laundry right now. I’m going to pack today for the trip to Phoenix. It’s easier for me to pack when all the clothes are clean. So I’ve been thinking about that as well.
…Ok, I just had my therapy. It wasn’t too bad. He wanted me to start out talking but I drew a blank. So he started asking me questions and I started talking. My next appointment is Wednesday morning.
I’m going to put away clothes and put clothes aside that I need to pack.
Tommy has surgery on the first. I’m a little nervous but I know he will be fine. He will be off work for the next two weeks.
———————————————-
You can specify the lower and upper number of patterns with quantity specifiers using curly brackets. Sometimes you only want to specify the lower number of patterns with no upper limit.
To only specify the lower number of patterns, keep the first number followed by a comma.
For example, to match only the string hah with the letter a appearing at least 3 times, your regex would be /ha{3,}h/.
let A4 = "haaaah"; let A2 = "haah"; let A100 = "h" + "a".repeat(100) + "h"; let multipleA = /ha{3,}h/; multipleA.test(A4); multipleA.test(A2); multipleA.test(A100);
In order, the three test calls would return true, false, and true.
You can specify the lower and upper number of patterns with quantity specifiers using curly brackets. Sometimes you only want a specific number of matches.
To specify a certain number of patterns, just have that one number between the curly brackets.
For example, to match only the word hah with the letter a 3 times, your regex would be /ha{3}h/.
let A4 = "haaaah"; let A3 = "haaah"; let A100 = "h" + "a".repeat(100) + "h"; let multipleHA = /ha{3}h/; multipleHA.test(A4); multipleHA.test(A3); multipleHA.test(A100);
In order, the three test calls would return false, true, and false.