Regular Expression

@RegexTip

Learn to use regular expressions by following RegexTip. From .

Vrijeme pridruživanja: studeni 2009.

Tweetovi

Blokirali ste korisnika/cu @RegexTip

Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @RegexTip

  1. Prikvačeni tweet
    22. lis 2015.

    Four tips for learning regular expressions

    Poništi
  2. prije 3 sata

    Python requires you to import the 're' module to take advantage of the built-in regular expression library.

    Poništi
  3. 31. sij

    To invert a character class abbreviation represented by a letter, change the case of that letter. [^\d] means \D. [^\s] means \S.

    Poništi
  4. 30. sij
    Poništi
  5. 29. sij
    Poništi
  6. 28. sij

    In Raku (née Perl 6), $ matches the end of a string and $$ matches the end of a line.

    Poništi
  7. 27. sij

    In Perl 6, ^ matches the start of a string and ^^ matches the start of a line.

    Poništi
  8. 24. sij

    The -f option in grep lets you specify a file of regular expressions, one per line.

    Poništi
  9. 23. sij

    zgrep searches for regular expressions inside a compressed file.

    Poništi
  10. 22. sij

    A pair of numbers in curly braces specifies a range of repetitions. For example, \d{2,5} matches from two to five digits.

    Poništi
  11. 21. sij

    Using regular expressions in Mathematica

    Poništi
  12. 20. sij

    A number in curly braces repeats a pattern that many times. Example: \d{3} is the same as \d\d\d.

    Poništi
  13. 17. sij

    Perl regex to replace all Cyrillic characters with question marks: s/\p{Cyrillic}/?/g

    Poništi
  14. 16. sij

    i before e except after c: (?<!c)ie // example of negative look-behind

    Poništi
  15. 15. sij

    In Perl 6, << matches a left word boundary and >> matches a right word boundary.

    Poništi
  16. 14. sij

    All look-arounds start with '(?' then optionally have '<' for 'behind'. Then '=' for positive and '!' for negative.

    Poništi
  17. 13. sij

    In Perl, the /s modifier allows . to match a newline character.

    Poništi
  18. 10. sij
    Poništi
  19. 9. sij

    Mnemonic for look-behind syntax: just like look-ahead, but with a '<' after the question mark to indicate 'behind'.

    Poništi
  20. 8. sij

    Negative look-behind is denoted (?<! ... ). Example: (?<!L)\d{3} matches three digits not preceded by an 'L'

    Poništi
  21. 7. sij

    Positive look-behind is denoted (?<= ... ). Example: (?<=L)(\d{3}) captures a group of three digits if they are proceeded by 'L'

    Poništi

Čini se da učitavanje traje već neko vrijeme.

Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.

    Možda bi vam se svidjelo i ovo:

    ·