let str = "First: 231\nSecond: some_text\nThirth: 88"
console.log(str.match(/(?::\s*)(.+)?$/m))
// [ ': 231',
// '231',
// index: 5,
// input: 'First: 231\nSecond: some_text\nThirth: 88',
// groups: undefined ]
{
// Используйте IntelliSense, чтобы узнать о возможных атрибутах.
// Наведите указатель мыши, чтобы просмотреть описания существующих атрибутов.
// Для получения дополнительной информации посетите: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "vuejs: chrome",
"url": "http://localhost:4000",
"webRoot": "${workspaceFolder}/src",
"breakOnLoad": true,
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
}
]
}
module.exports = {
configureWebpack: {
devtool: 'source-map'
}
};
docker-compose build --no-cache app
Get:5 http://deb.debian.org/debian stretch/main amd64 vim amd64 2:8.0.0197-4+deb9u1 [1034 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 6766 kB in 3s (1702 kB/s)
FROM ruby:2.5.1
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev apt-utils && apt-get install -y vim
ARG APP_HOME
RUN mkdir $APP_HOME
WORKDIR $APP_HOME