Тёмный

Barotrauma Regex Tutorial Part 1.0: Character Classes 

Rushcode
Подписаться 624
Просмотров 10 тыс.
50% 1

Опубликовано:

 

21 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 49   
@fantomkl1142
@fantomkl1142 3 месяца назад
I didn’t find anything about regex on Russian-language RU-vid, so I came here. Thank you, my English-speaking colleague, you really helped me understand.
@DimensionalExpansion
@DimensionalExpansion Год назад
Please continue this series. You will be considered a saint in the community. At the very least, you will be a saint to me.
@Rogvaldr
@Rogvaldr Год назад
Haha thanks man that's very kind of you to say! I am considering more Barotrauma tutorial content in the future so stay tuned.☺
@Antoine-bv8vs
@Antoine-bv8vs Год назад
The youtube ads kicked in right after you said "And now, a word from our sponsors", I've never witnessed such perfect timing in my life. Thanks a lot for the videos :D
@Rogvaldr
@Rogvaldr Год назад
Hahaha that's amazing! And you're most welcome!
@FlamingToaster
@FlamingToaster Год назад
Really good content! I hope you continue this series as there is not much videos regarding RegEx in Barotrauma (besides few simple examples)
@Rogvaldr
@Rogvaldr Год назад
Thank you so much! Yes, there isn't much out there. I struggled to understand it for that reason. So I made something more in-depth and fundamental. More to come in the next few months!
@ИванИванов-л3ю6с
@ИванИванов-л3ю6с 2 месяца назад
thank you mate for all these 4 videos about this component
@dominikcejka8828
@dominikcejka8828 Год назад
Wow! Best regex baro tutorial I have came across! Really good explanation, I hope for more parts to come! Subscribed.
@Rogvaldr
@Rogvaldr Год назад
Thanks so much!
@FreeD00M
@FreeD00M 2 месяца назад
Nice Tutorial Clear and Concise.
@ShinraSetora
@ShinraSetora Год назад
Thank you very much for the explanation, all your vids on regex were very well explained, very useful, I could use it to make new things in my sub that I didn't think I would be able to, great vid !
@Rogvaldr
@Rogvaldr Год назад
That's amazing! I'm so glad the explanation helped open up new horizons for you! Happy subbing! ⚓
@Mik-hm9tb
@Mik-hm9tb Год назад
Wow, ty for covering this. My mind came up with ultimate plan already. That is, combining regex component with logic gates and operating fully automatic submarine, like 'push that button and it will do the rest'. I know there is autopilot, but while impressive in navigating around cliffs it's not as flexible as human captain would be (or my fabulous sub' operating system >:-] ).
@Rogvaldr
@Rogvaldr Год назад
That's awesome! Regex with other components can do amazing things! :D
@illadiel6049
@illadiel6049 10 месяцев назад
Got an ad break as soon as you said, "And now, a word from our sponsors"
@Rogvaldr
@Rogvaldr 9 месяцев назад
Haha those youtube algorithms!
@SonicGasoline
@SonicGasoline Год назад
Thank you for taking the time to make this!
@Rogvaldr
@Rogvaldr Год назад
Thanks so much! It took a lot of work but totally worth it. And thank you for watching and commenting so others can find it too! 😄
@jameskim6398
@jameskim6398 Год назад
Thank you for this helpful video
@Rogvaldr
@Rogvaldr Год назад
You're most welcome! :D
@grandfremdling3841
@grandfremdling3841 Год назад
Nice
@Rogvaldr
@Rogvaldr Год назад
Thanks!
@anvion1161
@anvion1161 Год назад
we need more tutorials on baro wiring, thank you sm
@Rogvaldr
@Rogvaldr Год назад
That's a great suggestion! I'm no electrical engineer but I'll certainly give this some thought for the near future. Thank you!
@chadoftoons
@chadoftoons Год назад
I feel like what is missing in the video is saying wheter the output can be what you found in barotrauma because while finding what you are looking for and outputting something completly different is useful its just as useful to be able to output what you have found and if you can't do that what you can do instead.
@Rogvaldr
@Rogvaldr Год назад
That's a really good point! At 1:22, I should have said something more like this: Output indicates something you found or not found, and the result displayed is copied from a direct entry (e.g. via a Memory component) or a capture group.
@Druler5
@Druler5 7 месяцев назад
Thanks for the intro to regex! It was really confusing me. What's confusing me even more is that a Memory + Terminal -> Concat -> Regex doesn't seem to work. Always producing a False Output no matter what syntax I try. Would you be able to know anything about resolving that?
@Rogvaldr
@Rogvaldr 5 месяцев назад
You're welcome! I'm glad this video cleared some things up. As for your question about memory/terminal/concat use with regex, I tried this on my end and I was able to get a True Output using your combination. I hooked up every component's output to a Text Display so I could see everything that was happening while I configured it. I noticed Concat does not update until there is a new input in the Terminal. Here were my inputs for each component: Memory - a Terminal - b Concat combined this as - ab Regex Expression - \w Regex Output - PASS Regex False output - FAIL Tick on Regex Continuous output. Based on the above configuration, the output said "PASS". For comparison, I used \d and it said "FAIL". So it worked as expected. So maybe try replicating that first and if it works, then see what you can adjust from there. I hope that helps!
@Sprayer-px3tu
@Sprayer-px3tu Год назад
Rejular Expressions!
@Rogvaldr
@Rogvaldr Год назад
Yeah!
@shortround9869
@shortround9869 11 месяцев назад
I'm curious, what if 2 expressions conflict each other, what happens to the output?
@Rogvaldr
@Rogvaldr 10 месяцев назад
It'll probably be fine and just output both because all you're telling regex to do is find (for example) a number followed by a non-number.
@lucasbastosrodrigues140
@lucasbastosrodrigues140 2 месяца назад
:)
@daviconceicaodeoliveira3232
how do i make so that specific numbers get choosen to send a signal, like only a range of numbers from 0 to 12
@Rogvaldr
@Rogvaldr Год назад
I love this question! It's quite complicated to pull off and this video does not cover enough basics for it. My upcoming barotrauma tutorials will cover this in more detail. But here's a quick solution: ^\d?\d$ This accepts everything from 0 to 99. Searching for 0 to 12 will look more like this: ^(10|11|12|\d)$ So anchors, alternation and a capture group is used to give you specific control over what you are searching for.
@Loshode
@Loshode 9 месяцев назад
Regex jumpscare
@Rogvaldr
@Rogvaldr 9 месяцев назад
lol
@Noteclip
@Noteclip Год назад
the devs really tricked everyone into learning a tool that is useful outside of a game...
@Rogvaldr
@Rogvaldr Год назад
Haha yeah! Clever game features.
@phoomham9217
@phoomham9217 Месяц назад
"The more you know"
@binhtang5764
@binhtang5764 9 месяцев назад
man i feel like highschool again
@Rogvaldr
@Rogvaldr 9 месяцев назад
Good times! :D
@binhtang5764
@binhtang5764 9 месяцев назад
@@Rogvaldr it suck btw
@Rogvaldr
@Rogvaldr 9 месяцев назад
I'm sorry to hear that. High school can be tough. I hope life is getting better now for you. Or at least enjoying some barotrauma diving! :)
@alecu5885
@alecu5885 Год назад
how do you know all this
@Rogvaldr
@Rogvaldr Год назад
I had to study it using several web articles and test things out in Barotrauma, which has a unique game environment. I had help from friends too. :)
@esistgemingzeit
@esistgemingzeit 8 месяцев назад
dude how can you make such an elaborate tutorial and still call it "rejex" you wouldnt say "rejular expression" would you
@Rogvaldr
@Rogvaldr 6 месяцев назад
Hahaha yeah I dunno man that just seems to be how everyone else is saying it in my world. Plus it rolls of the tongue better for me :D
Далее
The Worst Submarine
9:38
Просмотров 909 тыс.
How to split your drink
00:45
Просмотров 1,1 млн
GIANT Gummy Worm Pt.6 #shorts
00:46
Просмотров 40 млн
Tales of Traumatizing Travels in Barotrauma
20:40
Просмотров 9 тыс.
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 713 тыс.
The complete and utter collapse of Ubisoft
31:41
Просмотров 881 тыс.
It's Hard To Make Games
18:01
Просмотров 244 тыс.
How to manage your submarine in Barotrauma - guide
6:40
How To Start An ISP (like it's 1993)
16:54
Просмотров 190 тыс.
Perfecting Reactor Control
24:18
Просмотров 110 тыс.
Barotrauma - Condition Monitor circuit walkthrough
19:26
The FTL Pre-igniter Experience
11:49
Просмотров 100 тыс.
How to split your drink
00:45
Просмотров 1,1 млн