-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalized regular expression parsing out server port.
This should fix issue #72, where the server would not start when Comsol was installed with the interface language set to Chinese. Parsing is now handled by a separate function so that it can be unit-tested. Currently, English (the default), German (issue #24), and Chinese (issue #72) output from the server process is being run against the regular expression. It is expected to work for all languages, effectively just looking for a four- or five-digit number in the line that begins with "COMSOL".
- Loading branch information
Showing
3 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters