Implement bold token
This commit is contained in:
parent
36e2b5925c
commit
1faa0d5c3b
6 changed files with 84 additions and 11 deletions
|
|
@ -8,7 +8,7 @@ pub struct Item {
|
|||
impl Parseable for Item {
|
||||
fn probe(lexeme: &Lexeme) -> bool {
|
||||
(lexeme.match_as_char('-') || lexeme.match_as_char('+'))
|
||||
&& lexeme.match_next_as_char(' ')
|
||||
&& lexeme.match_next_as_char(' ')
|
||||
}
|
||||
|
||||
fn lex(_lexeme: &Lexeme) -> Item {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue