[ https://issues.apache.org/jira/browse/JAMES-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tellier Benoit closed JAMES-2566. --------------------------------- Resolution: Won't Fix > [DLP] Routes for validationg regex > ---------------------------------- > > Key: JAMES-2566 > URL: https://issues.apache.org/jira/browse/JAMES-2566 > Project: James Server > Issue Type: Improvement > Reporter: Trần Tiến Đức > Priority: Major > > OpenPaaS needs to validate some Java regex on top of a javascript powered > browser. > We need to add routes for validating this regex in James, where a Java > runtime is available. > API proposal: > {code:java} > POST /dlp/expression/validate > { "expression":"(?i:aladin)" } > Will return > { "isValid": true|false } > POST /dlp/expression/sampleMatch > { "expression": "(?i:aladin)", "sampleValue": "Tu ne connais pas Aladin qui > est un si brave garçon?" } > Will return > { "isValid": true|false, "isMatched": true|false } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org