About 50 results
Open links in new tab
  1. regex - Regular expression that will catch strings containing 2 ...

    Jan 31, 2018 · The regex explainer here will help to decipher it. It will find a string with "must-" at the start followed by at least one lowercase-letter, number, dash, or dot; then "best" followed by at least …

  2. adduser.conf NAME_REGEX is not working - Ask Ubuntu

    May 25, 2015 · After testing several of the above regular expressions for NAME_REGEX with no success (html code is hiding some \ characters, at least), I managed to write a proper and working …

  3. regex - Pattern based, batch file rename in terminal - Ask Ubuntu

    No Action: show what files would have been renamed. rename MAY take regex as the arguments. What we are looking at is the content between the single quotes '. You can place regex separated by /. …

  4. Difference between '.' , '?' and '*' in regular expressions?

    Sep 9, 2016 · You may be confusing regular expressions with shell globs In regular expression syntax . represents any single character (usually excluding the newline character), while * is a quantifier …

  5. How to pass a regex when finding a directory path in bash?

    May 31, 2019 · This solution obviously doesn’t allow for the full regex power, but shell globbing and brace expansion is equal at least in the case you showed. The loop exits as soon as one directory …

  6. "Failed to create user" due to regular expression error

    Jun 12, 2020 · 16 In Debian systems, the regex defining acceptable user names is found in /etc/adduser.conf. A typical regex (found on my system) is: NAME_REGEX="^[a-z][-a-z0-9_]*\$" I …

  7. ModuleNotFoundError: No module named 'regex._regex'

    It looks like the Regex module in this case is bundled with the whole software and NOT from the system repos or PyPI. Unfortunately, that makes solving this very limited. Are you working in a venv or …

  8. error: ‘regex_t’ does not name a type Ubuntu 24.04

    Dec 16, 2024 · I compiled portaudio without any issues into another machine with Ubuntu 24.04 and version 14.2.0 of gcc and g++, where I searched for the file "regex.h", but, didn't find it.

  9. `apt-get` and wildcards: globs vs. regex - Ask Ubuntu

    Jun 14, 2017 · Edit: Please note, as written below, I'm aware of answers on this site explaining that apt-get uses regex to interpret packages' names. In fact, the question is directly about a way in which its …

  10. command line - grep regex .* not matching everything - Ask Ubuntu

    I've recently gotten into using tools like grep, wc, cat, etc. because I have to deal with some very large CSV files (>10GB) which aren't quite delimited correctly (for instance, having occurrences...