src/Behat/Gherkin/Lexer.php
protected function scanPyStringContent()
    {
        if (!$this->inPyString) {
            return null;
        }

        $token = $this->scanText();
        // swallow trailing spaces
        $token['value'] = preg_replace('/^\s{0,' . $this->pyStringSwallow . '}/u', '', $token['value']);

        return $token;
    }
protected function scanPyStringContent()
    {
        if (!$this->inPyString) {
            return null;
        }

        $token = $this->scanText();
        // swallow trailing spaces
        $token['value'] = preg_replace('/^\s{0,' . $this->pyStringSwallow . '}/u', '', $token['value']);

        return $token;
    }
protected function scanPyStringContent ( ) { if ( ! $ this -> inPyString ) { return null ; } $ token = $ this -> scanText ( ) ; // swallow trailing spaces $ token [ 'value' ] = preg_replace ( '/^\s{0,' . $ this -> pyStringSwallow . '}/u' , '' , $ token [ 'value' ] ) ; return $ token ; }
Scans PyString content.

@return null|array
Scans PyString content .