Skip to content

Commit

Permalink
fix: temp reverse for data struct
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Feb 28, 2021
1 parent a1698f8 commit 719c54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/coco_struct_analysis/src/ctags_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ lazy_static! {
static ref RE_TYPE: Regex =
Regex::new(r"/\^([ ]*)(?P<datatype>[A-Za-z0-9_.]+)([^A-Za-z0-9_]+)(.*)\$/").unwrap();
static ref RUST_TYPE: Regex = Regex::new(
r"/\^([ ]*)([A-Za-z0-9_.]+)(\t|\s)([A-Za-z0-9_.]+)\s*:(\t|\s)*(?P<datatype>[A-Za-z0-9_.<>,]+)"
r"/\^([ ]*)([A-Za-z0-9_.]+)(\t|\s)([A-Za-z0-9_.]+)\s*:(\t|\s)*(?P<datatype>[A-Za-z0-9_.<>]+)"
).unwrap();
static ref PURE_RUST_TYPE: Regex = Regex::new(
r"((Vec|Option|<)*)(?P<datatype>[A-Za-z0-9_]+)>*"
Expand Down

0 comments on commit 719c54e

Please sign in to comment.