發表文章

目前顯示的是 11月 26, 2018的文章

Hubertus Strughold

圖片
Hubertus Strughold Born June 15, 1898 Westtünnen-im-Hamm, Westphalia, Germany Died September 25, 1986 (1986-09-25) (aged 88) San Antonio, Texas, United States Citizenship German and American (1956) Alma mater Georg August University of Göttingen; University of Würzburg Known for Space medicine, Nazi human experimentation Scientific career Fields Aviation medicine, space medicine, physiology Hubertus Strughold (June 15, 1898 – September 25, 1986) was a German-born physiologist and prominent medical researcher. Beginning in 1935 he served as chief of aeromedical research for the Luftwaffe, holding this position throughout World War II. In 1947 he was brought to the United States as part of Operation Paperclip and held a series of high-ranking medical positions with both the US Air Force and NASA. For his role in pioneering the study of the physical and psychological effects of manned spaceflight he became known as "The Father of Space Med...

RichTextFX comment and property regex

圖片
up vote 0 down vote favorite I am trying to use the RichTextFX library to show a properties file in the CodeArea . I have created some Regex for comments as well as properties to try to style to CodeArea . EDIT: I am able to get them working properly. Except for when I add a comment to a line that has a property. My regex for determining a Property is not able to tell when there's a # at the beginning of the line. I have tried but am unable to get it to negate the rest of it if it sees there is a # at the beginning. Here's the two patterns that I am using: Pattern COMMENT = Pattern.compile("(?<SingleLineComment>#+)(?<Comment>.*n)"); Pattern PROPERTY = Pattern.compile("(n?(?<PropertyName>.+)(\h*=\h*)(?<PropertyValue>\S+))"); Here's how they are being used in code: i...