Skip to content

Commit

Permalink
shaper
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Apr 15, 2024
1 parent 60e8399 commit 8b5c75d
Show file tree
Hide file tree
Showing 28 changed files with 1,374 additions and 27 deletions.
2 changes: 1 addition & 1 deletion sentence-case.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { merge } from './merge'

import * as rx from './re'

const Lu: string = rx.match(rx.categories.filter(cat => cat.name === 'Lu'))
const Lu: string = rx.match(rx.categories.filter(cat => cat.name === 'Lu' || cat.name === 'Lt'))
const Ll: string = rx.match(rx.categories.filter(cat => cat.name === 'Ll'))
const connectedInnerWord = new RegExp(`-${Lu}${Ll}*(?=-|$)`, 'g')

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/all.js > TAP > other=subscript.bib > must match snapshot 1`] = `
Object {
"comments": Array [],
"entries": Array [
Object {
"fields": Object {
"author": Array [
Object {
"firstName": "Colin-N.",
"lastName": "Brosseau",
},
Object {
"firstName": "Mathieu",
"lastName": "Perrin",
},
Object {
"firstName": "Carlos",
"lastName": "Silva",
},
Object {
"firstName": "Richard",
"lastName": "Leonelli",
},
],
"doi": "10.1103/PhysRevB.82.085305",
"journal": "Phys. Rev. B",
"number": "8",
"pages": "085305",
"title": "Carrier Recombination Dynamics in InₓGa₁₋ₓN/GaN Multiple Quantum Wells",
"volume": "82",
"year": "2010",
},
"input": String(
@article{Brosseau2010,
title = {Carrier Recombination Dynamics in {{In\\\\textsubscript{x}Ga}}{{{\\\\textsubscript{1-x}}}}{{N}}/{{GaN}} Multiple Quantum Wells},
author = {Brosseau, Colin-N. and Perrin, Mathieu and Silva, Carlos and Leonelli, Richard},
year = {2010},
volume = {82},
pages = {085305},
doi = {10.1103/PhysRevB.82.085305},
journal = {Phys. Rev. B},
number = {8}
}
),
"key": "Brosseau2010",
"mode": Object {
"author": "creatorlist",
"doi": "verbatim",
"journal": "literal",
"number": "literal",
"pages": "literal",
"title": "title",
"volume": "literal",
"year": "literal",
},
"type": "article",
},
],
"errors": Array [],
"jabref": Object {
"groups": Object {},
"root": Array [],
},
"preamble": Array [],
"strings": Object {},
}
`
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/all.js > TAP > other=subscript.bib > must match snapshot 1`] = `
Object {
"comments": Array [],
"entries": Array [
Object {
"fields": Object {
"author": Array [
Object {
"firstName": "Colin-N.",
"lastName": "Brosseau",
},
Object {
"firstName": "Mathieu",
"lastName": "Perrin",
},
Object {
"firstName": "Carlos",
"lastName": "Silva",
},
Object {
"firstName": "Richard",
"lastName": "Leonelli",
},
],
"doi": "10.1103/PhysRevB.82.085305",
"journal": "Phys. Rev. B",
"number": "8",
"pages": "085305",
"title": "Carrier Recombination Dynamics in InₓGa₁₋ₓN/GaN Multiple Quantum Wells",
"volume": "82",
"year": "2010",
},
"input": String(
@article{Brosseau2010,
title = {Carrier Recombination Dynamics in {{In\\\\textsubscript{x}Ga}}{{{\\\\textsubscript{1-x}}}}{{N}}/{{GaN}} Multiple Quantum Wells},
author = {Brosseau, Colin-N. and Perrin, Mathieu and Silva, Carlos and Leonelli, Richard},
year = {2010},
volume = {82},
pages = {085305},
doi = {10.1103/PhysRevB.82.085305},
journal = {Phys. Rev. B},
number = {8}
}
),
"key": "Brosseau2010",
"mode": Object {
"author": "creatorlist",
"doi": "verbatim",
"journal": "literal",
"number": "literal",
"pages": "literal",
"title": "title",
"volume": "literal",
"year": "literal",
},
"type": "article",
},
],
"errors": Array [],
"jabref": Object {
"groups": Object {},
"root": Array [],
},
"preamble": Array [],
"strings": Object {},
}
`
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/all.js > TAP > other=subscript.bib > must match snapshot 1`] = `
Object {
"comments": Array [],
"entries": Array [
Object {
"fields": Object {
"author": Array [
Object {
"firstName": "Colin-N.",
"lastName": "Brosseau",
},
Object {
"firstName": "Mathieu",
"lastName": "Perrin",
},
Object {
"firstName": "Carlos",
"lastName": "Silva",
},
Object {
"firstName": "Richard",
"lastName": "Leonelli",
},
],
"doi": "10.1103/PhysRevB.82.085305",
"journal": "Phys. Rev. B",
"number": "8",
"pages": "085305",
"title": "Carrier Recombination Dynamics in InₓGa₁₋ₓN/GaN Multiple Quantum Wells",
"volume": "82",
"year": "2010",
},
"input": String(
@article{Brosseau2010,
title = {Carrier Recombination Dynamics in {{In\\\\textsubscript{x}Ga}}{{{\\\\textsubscript{1-x}}}}{{N}}/{{GaN}} Multiple Quantum Wells},
author = {Brosseau, Colin-N. and Perrin, Mathieu and Silva, Carlos and Leonelli, Richard},
year = {2010},
volume = {82},
pages = {085305},
doi = {10.1103/PhysRevB.82.085305},
journal = {Phys. Rev. B},
number = {8}
}
),
"key": "Brosseau2010",
"mode": Object {
"author": "creatorlist",
"doi": "verbatim",
"journal": "literal",
"number": "literal",
"pages": "literal",
"title": "title",
"volume": "literal",
"year": "literal",
},
"type": "article",
},
],
"errors": Array [],
"jabref": Object {
"groups": Object {},
"root": Array [],
},
"preamble": Array [],
"strings": Object {},
}
`
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/all.js > TAP > other=subscript.bib > must match snapshot 1`] = `
Object {
"comments": Array [],
"entries": Array [
Object {
"fields": Object {
"author": Array [
Object {
"firstName": "Colin-N.",
"lastName": "Brosseau",
},
Object {
"firstName": "Mathieu",
"lastName": "Perrin",
},
Object {
"firstName": "Carlos",
"lastName": "Silva",
},
Object {
"firstName": "Richard",
"lastName": "Leonelli",
},
],
"doi": "10.1103/PhysRevB.82.085305",
"journal": "Phys. Rev. B",
"number": "8",
"pages": "085305",
"title": "Carrier Recombination Dynamics in InₓGa₁₋ₓN/GaN Multiple Quantum Wells",
"volume": "82",
"year": "2010",
},
"input": String(
@article{Brosseau2010,
title = {Carrier Recombination Dynamics in {{In\\\\textsubscript{x}Ga}}{{{\\\\textsubscript{1-x}}}}{{N}}/{{GaN}} Multiple Quantum Wells},
author = {Brosseau, Colin-N. and Perrin, Mathieu and Silva, Carlos and Leonelli, Richard},
year = {2010},
volume = {82},
pages = {085305},
doi = {10.1103/PhysRevB.82.085305},
journal = {Phys. Rev. B},
number = {8}
}
),
"key": "Brosseau2010",
"mode": Object {
"author": "creatorlist",
"doi": "verbatim",
"journal": "literal",
"number": "literal",
"pages": "literal",
"title": "title",
"volume": "literal",
"year": "literal",
},
"type": "article",
},
],
"errors": Array [],
"jabref": Object {
"groups": Object {},
"root": Array [],
},
"preamble": Array [],
"strings": Object {},
}
`
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* IMPORTANT
* This snapshot file is auto-generated, but designed for humans.
* It should be checked into source control and tracked carefully.
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/all.js > TAP > other=subscript.bib > must match snapshot 1`] = `
Object {
"comments": Array [],
"entries": Array [
Object {
"fields": Object {
"author": Array [
Object {
"firstName": "Colin-N.",
"lastName": "Brosseau",
},
Object {
"firstName": "Mathieu",
"lastName": "Perrin",
},
Object {
"firstName": "Carlos",
"lastName": "Silva",
},
Object {
"firstName": "Richard",
"lastName": "Leonelli",
},
],
"doi": "10.1103/PhysRevB.82.085305",
"journal": "Phys. Rev. B",
"number": "8",
"pages": "085305",
"title": "Carrier Recombination Dynamics in InₓGa₁₋ₓN/GaN Multiple Quantum Wells",
"volume": "82",
"year": "2010",
},
"input": String(
@article{Brosseau2010,
title = {Carrier Recombination Dynamics in {{In\\\\textsubscript{x}Ga}}{{{\\\\textsubscript{1-x}}}}{{N}}/{{GaN}} Multiple Quantum Wells},
author = {Brosseau, Colin-N. and Perrin, Mathieu and Silva, Carlos and Leonelli, Richard},
year = {2010},
volume = {82},
pages = {085305},
doi = {10.1103/PhysRevB.82.085305},
journal = {Phys. Rev. B},
number = {8}
}
),
"key": "Brosseau2010",
"mode": Object {
"author": "creatorlist",
"doi": "verbatim",
"journal": "literal",
"number": "literal",
"pages": "literal",
"title": "title",
"volume": "literal",
"year": "literal",
},
"type": "article",
},
],
"errors": Array [],
"jabref": Object {
"groups": Object {},
"root": Array [],
},
"preamble": Array [],
"strings": Object {},
}
`

0 comments on commit 8b5c75d

Please sign in to comment.