Explore chapters and articles related to this topic
Log Sensor Data to Google Spreadsheets
Published in Anudeep Juluru, Shriram K. Vasudevan, T. S. Murugesh, fied!, 2023
Anudeep Juluru, Shriram K. Vasudevan, T. S. Murugesh
The first argument in the , is a regular expression (also known as RegEx or RegExr). Regular expressions are patterns used to match character combinations in a string. Go to these websites (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions, https://regexr.com/) to know more about regular expressions, for creating a new regular expression or for the explanation of a known regular expression. The regular expression used in the code is explained below: – Start of the regular expression – Start of the character set – Matches character – Matches character – End of character set – End of the regular expression – Global Expression flag. It is used to find all the matches (not just the first one).
1
Published in Uwe Engel, Anabel Quan-Haase, Sunny Xun Liu, Lars Lyberg, Handbook of Computational Social Science, Volume 2, 2021
Stefan Bosse, Lena Dahlhaus, Uwe Engel
Regular expressions are patterns used to match parts of text (e.g., sentences, keywords, numbers) associated with character combinations in strings. Regular expressions can solve a broad range of text pattern matching and text extraction processes and are specially encoded text strings.
The Virtual Test Bed (VTB) Repository: A Library of Reference Reactor Models Using NEAMS Tools
Published in Nuclear Science and Engineering, 2023
Guillaume L. Giudicelli, Abdalla Abou-Jaoude, April J. Novak, Ahmed Abdelhameed, Paolo Balestra, Lise Charlot, Jun Fang, Bo Feng, Thomas Folk, Ramiro Freile, Thomas Freyman, Derek Gaston, Logan Harbour, Thanh Hua, Wen Jiang, Nicolas Martin, Yinbin Miao, Jason Miller, Isaac Naupa, Dan O’Grady, David Reger, Emily Shemon, Nicolas Stauff, Mauricio Tano, Stefano Terlizzi, Samuel Walker, Cody Permann
To perform continuous integration on the VTB side, multiple applications are checked out side by side with the main repository. The applications within their own repositories are built as though they are being tested in a standalone mode. However, instead of running the normal suite of tests within the application’s repository, the MOOSE “TestHarness” is directed to search for tests in the root of the VTB via the --test-root option. To prevent applications from attempting to run input files found within the VTB tree that were not intended for that application, the executable_pattern key is used within every relevant test specification to match only specific applications. These patterns support full Python regular expression syntax, enabling them to match one or more application patterns. The following example would run only when the SAM or BlueCRAB (Ref. 20) binaries were being used as the executable: executable_pattern = ‘sam*|blue_crab*’.
Development of a CNC interpretation service with good performance and variable functionality
Published in International Journal of Computer Integrated Manufacturing, 2022
In addition to the off-the-shelf compilation tools, general software development tools are utilized to build G code interpreters. For example, Liu et al. developed a G code interpreter using C language with the syntax rules described in the extended BNF (EBNF) by tool command language (TCL) (Liu et al. 2007). Hong et al. proposed a legal word table and a conditional statement-based syntax detection mechanism to implement lexical and syntactic analysis based on which designed a G code interpreter using C language (Hong et al. 2010). Besides, C++ language is often used to develop G code interpreters that the lexical and syntax rules are usually described by the regular expression provided by GRETA library (Zhang and Yao 2010; Ma and Liu 2012; Cheng, Zhao, and Sun 2016). In contrast to these common programming languages, Latif et al. used LabVIEW to develop a G code interpreter whose analysis part is implemented based on a data extraction mechanism (Yusof and Latif 2015). That is, machining data, such as position, feedrate, spindle speed, etc., is extracted from an input NC program. And they extended this interpreter to handle both G code and STEP-NC (Yusof and Latif 2016).
The research of endless loop detection method based on the basic path
Published in International Journal of Computers and Applications, 2020
Xuexin Gao, Yongmin Mu, Meie Shen
The paper firstly removes the program annotations and string constants and other interference factors and extracts the certain endless loop through the regular expression. Then the structural features and the control flow graph are extracted from the intermediate code which is generated by GCC compiler. By analyzing the basic path of the control flow path, the related factors that affect the uncertain endless loop are obtained. The endless loop can be extracted more accurately through the classification and detection of the endless loop. In the future research, the detection method proposed in this paper can be further improved. The algorithm should be designed that can automatically determine whether the jump condition of the loop will be satisfied to reduce manual analysis and intervention.