Skip to content

Commit

Permalink
parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhh committed Sep 17, 2021
1 parent ccf179d commit 49c0c13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name := """seasadj"""
organization := "org.cmhh"
scalaVersion := "2.13.6"
version := "0.2.0"
version := "0.2.1"
scalacOptions += "-deprecation"

libraryDependencies += "com.lihaoyi" %% "upickle" % "0.9.5"
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/seasadj/Service.scala
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ object Service extends App with CORSHandler {

object routes {
val version = path("version") {
complete(HttpEntity(ContentTypes.`application/json`, "[\"0.2.0\"]"))
complete(HttpEntity(ContentTypes.`application/json`, "[\"0.2.1\"]"))
}

val validateSPC = path("validateSPC") {
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/seasadj/SpecificationParser.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ object SpecificationParser {
// anything that could be a specificaton or parameter name
val name = "(?:[a-zA-Z]+[a-zA-Z0-9]*)"
// anything permitted inside a spec value
val anytext = "(?:[a-zA-Z]+[a-zA-Z0-9\r\n\\(\\)\"\'\\.,=\\\\/ -]*)"
val anytext = "(?:[a-zA-Z]+[a-zA-Z0-9\r\n\\(\\)\"\'\\.,=\\\\/ -_]*)"
// anything permitted on the rhs of a spec parameter
val anyrhs = "(?:[a-zA-Z\\(]+[a-zA-Z0-9\r\n\\(\\)\"\'\\.,\\\\/ -]*)"
// high-level match for entire spec, i.e. spec { specname}
Expand Down

0 comments on commit 49c0c13

Please sign in to comment.