Size: a a a

Regular Expressions

2021 November 09

Лс

Лень с Самосознанием... in Regular Expressions
Эх, жаль по интернету не передаётся тон, было б сразу ясно что я малость не в себе и не серьёзно.
Oh well ¯\_(ツ)_/¯
источник

Лс

Лень с Самосознанием... in Regular Expressions
Всё равно уже ушло не туда а "вдохновение" спугнули
источник

M

Mr. Robot in Regular Expressions
источник

Лс

Лень с Самосознанием... in Regular Expressions
Okay, now that you're totally lost between choices let's retrace our steps and return to the beginning.

You came with the question X, trying to solve the problem Y, and you think that solution X is exactly what you need.
But I, being the narrator an old inhabitant of *help chats know that this is not the solution.
So, answer please, what is the problem Y, what is it that you need file attributes for?
источник

Лс

Лень с Самосознанием... in Regular Expressions
Не, всё ещё не выветрился дух Stanley Parable 😅
источник

M

Mr. Robot in Regular Expressions
I'm developing this mini file manager, it's already functional, but I need more details of the files to put in the app
источник

M

Mr. Robot in Regular Expressions
I'm doing it all in html5, css3, javascript and java
источник

Лс

Лень с Самосознанием... in Regular Expressions
Yet another file manager?
Huh, okay.
Wait, you choose shell commands to retrieve information about files...??
Are you absolutely and undoubtedly sure that you need shell commands for that?
You know, pretty much every single one of file managers talks directly to the Linux about such stuff
источник

Лс

Лень с Самосознанием... in Regular Expressions
...
источник

Лс

Лень с Самосознанием... in Regular Expressions
I'm out...
источник

Лс

Лень с Самосознанием... in Regular Expressions
Впились обратно пожалуйста, в одиночку я явно не выдержу такого бреда
источник

AC

Alice Carroll in Regular Expressions
pretty sure java is able to get file information
источник

M

Mr. Robot in Regular Expressions
I use shell commands because it's what I can use depending on the language I'm developing, and it seems to work.
источник

AC

Alice Carroll in Regular Expressions
источник

M

Mr. Robot in Regular Expressions
I don't know much about java, just the basics
источник

Лс

Лень с Самосознанием... in Regular Expressions
Sigh...
You're writing... this on java right?
Then why on earth do you want to add shell into it, the whole another language??
источник

Лс

Лень с Самосознанием... in Regular Expressions
Ты нихерашеньки не знаешь...
источник

M

Mr. Robot in Regular Expressions
Lol  I'm developing the layout and the interaction part with html and js, java is just to list files and delete etc.
источник

IP

Ivan Petrov in Regular Expressions
Just add $ at the end, like
\d+\s\d{4}\-\d{2}\-\d{2}\s\d{1,2}\:\d{2}\s.+$
источник

M

Mr. Robot in Regular Expressions
I'm doing it to apply Front-end studies
источник