| 1 | Sourcescip-debian debian re2j 1.7+dfsg-1 re2j/Source.: re2jscip-debian debian re2j 1.7+dfsg-1 re2j/ |
| 2 | Maintainerscip-debian debian re2j 1.7+dfsg-1 re2j/Maintainer.: Debian Java Maintainers <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 | Uploadersscip-debian debian re2j 1.7+dfsg-1 re2j/Uploaders.: Vincent Prat <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 4 | Sectionscip-debian debian re2j 1.7+dfsg-1 re2j/Section.: libsscip-debian . . . section/libs. |
| 5 | Priorityscip-debian debian re2j 1.7+dfsg-1 re2j/Priority.: optionalscip-debian . . . priority/optional. |
| 6 | Build-Dependsscip-debian debian re2j 1.7+dfsg-1 re2j/Build-Depends.: debhelperscip-debian debian debhelper . debhelper/debhelper# (>= 13), |
| 7 | debhelper-compatscip-debian debian debhelper-compat . debhelper-compat/debhelper-compat# (= 13), |
| 8 | gradle-debian-helperscip-debian debian gradle-debian-helper . gradle-debian-helper/gradle-debian-helper#, |
| 9 | libicu4j-javascip-debian debian libicu4j-java . libicu4j-java/libicu4j-java#, |
| 10 | libjavapoet-javascip-debian debian libjavapoet-java . libjavapoet-java/libjavapoet-java#, |
| 11 | maven-repo-helperscip-debian debian maven-repo-helper . maven-repo-helper/maven-repo-helper# |
| 12 | Standards-Versionscip-debian debian re2j 1.7+dfsg-1 re2j/Standards-Version.: 4.6.1 |
| 13 | Vcs-Browserscip-debian debian re2j 1.7+dfsg-1 re2j/Vcs-Browser.: https://salsa.debian.org/java-team/re2jscip-debian . . . url/`https://salsa.debian.org/java-team/re2j`. |
| 14 | Vcs-Gitscip-debian debian re2j 1.7+dfsg-1 re2j/Vcs-Git.: https://salsa.debian.org/java-team/re2j.git |
| 15 | Homepagescip-debian debian re2j 1.7+dfsg-1 re2j/Homepage.: https://github.com/google/re2jscip-debian . . . url/`https://github.com/google/re2j`. |
| 16 | Rules-Requires-Rootscip-debian debian re2j 1.7+dfsg-1 re2j/Rules-Requires-Root.: no |
| 17 | |
| 18 | Packagescip-debian debian re2j 1.7+dfsg-1 re2j/libre2j-java#Package.: libre2j-javascip-debian debian libre2j-java . libre2j-java/libre2j-java# |
| 19 | Architecturescip-debian debian re2j 1.7+dfsg-1 re2j/libre2j-java#Architecture.: allscip-debian . . . architecture/all. |
| 20 | Multi-Archscip-debian debian re2j 1.7+dfsg-1 re2j/libre2j-java#Multi-Arch.: foreign |
| 21 | Sectionscip-debian debian re2j 1.7+dfsg-1 re2j/libre2j-java#Section.: javascip-debian . . . section/java. |
| 22 | Dependsscip-debian debian re2j 1.7+dfsg-1 re2j/libre2j-java#Depends.: ${shlibs:Depends}, |
| 23 | ${misc:Depends}, |
| 24 | ${java:Depends} |
| 25 | Descriptionscip-debian debian re2j 1.7+dfsg-1 re2j/libre2j-java#Description.: RE2/J: linear time regular expression matching in Java |
| 26 | RE2 is a regular expression engine that runs in time linear in the size of the |
| 27 | input. RE2/J is a port of RE2 to pure Java. |
| 28 | . |
| 29 | Java's standard regular expression package, java.util.regex, and many other |
| 30 | widely used regular expression packages such as PCRE, Perl and Python use a |
| 31 | backtracking implementation strategy: when a pattern presents two alternatives |
| 32 | such as a|b, the engine will try to match subpattern a first, and if that |
| 33 | yields no match, it will reset the input stream and try to match b instead. |
| 34 | . |
| 35 | If such choices are deeply nested, this strategy requires an exponential |
| 36 | number of passes over the input data before it can detect whether the input |
| 37 | matches. If the input is large, it is easy to construct a pattern whose |
| 38 | running time would exceed the lifetime of the universe. This creates a |
| 39 | security risk when accepting regular expression patterns from untrusted |
| 40 | sources, such as users of a web application. |
| 41 | . |
| 42 | In contrast, the RE2 algorithm explores all matches simultaneously in a single |
| 43 | pass over the input data by using a nondeterministic finite automaton. |
| 44 | . |
| 45 | There are certain features of PCRE or Perl regular expressions that cannot be |
| 46 | implemented in linear time, for example, backreferences, but the vast majority |
| 47 | of regular expressions patterns in practice avoid such features. |